Skip to content

Commit

Permalink
chore(*) remove Ergo References from Concerto (accordproject#610)
Browse files Browse the repository at this point in the history
Add `false` for ergo, to prevent errors.

Signed-off-by: Jamie Shorten <[email protected]>
  • Loading branch information
jamieshorten committed Apr 24, 2023
1 parent 922cd1b commit 72b4209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/concerto-core/lib/serializer.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ class Serializer {
parameters.resourceStack = new TypedStack(resource);
parameters.modelManager = this.modelManager;
parameters.factory = this.factory;
const populator = new JSONPopulator(options.acceptResourcesForRelationships === true, options.utcOffset, options.strictQualifiedDateTimes === true);
const populator = new JSONPopulator(options.acceptResourcesForRelationships === true, false, options.utcOffset, options.strictQualifiedDateTimes === true);
classDeclaration.accept(populator, parameters);

// validate the resource against the model
Expand Down

0 comments on commit 72b4209

Please sign in to comment.