You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading ember/data to 3.12, I am getting this error Uncaught Error: Either an id or a clientId is required as an argument when I try to create a fragment like this store.createFragment('content-conditions-group', { conditionType, content, });
conditionType and content are belongsTo relationships in my fragment. Creating an empty fragment works, but if I try to set the content after creating, I get the same error.
Stack trace: Uncaught Error: Either an id or a clientId is required as an argument. at RecordDataStoreWrapper.notifyBelongsToChange (-private.js:7291) at BelongsToRelationship.notifyBelongsToChange (-private.js:9747) at BelongsToRelationship.addRecordData (-private.js:9725) at BelongsToRelationship.setRecordData (-private.js:9623) at RecordDataDefault.setDirtyBelongsTo (-private.js:10257) at InternalModel.setDirtyBelongsTo (-private.js:4706) at Class.set (-private.js:323) at ComputedProperty._set (metal.js:3615) at ComputedProperty.setWithSuspend (metal.js:3592) at ComputedProperty.set (metal.js:3563)
The text was updated successfully, but these errors were encountered:
After upgrading ember/data to 3.12, I am getting this error
Uncaught Error: Either an id or a clientId is required as an argument
when I try to create a fragment like thisstore.createFragment('content-conditions-group', { conditionType, content, });
conditionType
andcontent
are belongsTo relationships in my fragment. Creating an empty fragment works, but if I try to set the content after creating, I get the same error.Stack trace:
Uncaught Error: Either an id or a clientId is required as an argument. at RecordDataStoreWrapper.notifyBelongsToChange (-private.js:7291) at BelongsToRelationship.notifyBelongsToChange (-private.js:9747) at BelongsToRelationship.addRecordData (-private.js:9725) at BelongsToRelationship.setRecordData (-private.js:9623) at RecordDataDefault.setDirtyBelongsTo (-private.js:10257) at InternalModel.setDirtyBelongsTo (-private.js:4706) at Class.set (-private.js:323) at ComputedProperty._set (metal.js:3615) at ComputedProperty.setWithSuspend (metal.js:3592) at ComputedProperty.set (metal.js:3563)
The text was updated successfully, but these errors were encountered: