-
-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix glimmer render error when creating fragment arrays #466
Fix glimmer render error when creating fragment arrays #466
Conversation
It's a problem with our property change tracking, but I'm not sure how to fix it. ember-data-model-fragments/addon/array/stateful.js Lines 61 to 82 in fcc8fc7
const person = store.createRecord('person');
person.titles.setObjects(['Hand of the King', 'Master of Coin']); MutableArray.setObjects calls |
I've added a second test which depends on the My goal here is to get both tests passing. I should add that this bug was not introduced in model-fragments v6, it's also present in v5. |
My workaround 10a7825 implements |
This issue was reported before in #357 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Glad you found a workaround
Released as 6.0.1 |
Fixes #357
Constructing a record throws an error:
This happens when we initialize a fragment array while a render loop is running.