-
-
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
5.0.0-beta.0 - You should not change the <type> of a RecordIdentifier #372
Comments
I believe this will have been a change within Ember Data itself and not model fragments specifically. The recommended pattern is that you use hyphen-case when referencing your models. Take this from the public Ember Data guides
|
Should the file name be changed in this case, esp when you cannot change the representation in the code? |
I had a similar problem with ember-data 3.13.3. In my case it was a polymorphic ember-data-model-fragments/addon/ext.js Lines 124 to 131 in 3eeccc2
|
Hello,
We have updated your application to Ember 3.15 and also updated ember-data-model-fragments to 5.0.0-beta.0.
Unfortunately, when loading one of our views, we have the following error message in our web console :
We found where the problem came from: our model has a "fragmentArray" attribut of type "billingDetail". This fragment model is defined in the file "models/billing-detail.js". When we change type "billingDetail" to "billing-detail", all works! If we return to "billingDetail", the error come again... Before upgrade, it worked.
We did not change the type in our code, juste display the content of this "fragmentArray" attribut.
What do you think about? Thanks,
The text was updated successfully, but these errors were encountered: