Skip to content

Commit cbab1bd

Browse files
committed
fix(BoxLang): Fix for BoxLang returning unmodifiable structs
1 parent 95c612b commit cbab1bd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

models/BaseEntity.cfc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1201,7 +1201,8 @@ component accessors="true" {
12011201
} );
12021202
guardEmptyAttributeData( attrs );
12031203

1204-
var result = builder.insert( attrs, arguments.options );
1204+
var result = builder.insert( attrs, arguments.options );
1205+
result.result = structCopy( result.result );
12051206

12061207
if ( hasParentEntity() ) {
12071208
result.result[ getParentDefinition().joincolumn ] = variables._data[ getParentDefinition().joinColumn ];

0 commit comments

Comments
 (0)