-
-
Notifications
You must be signed in to change notification settings - Fork 113
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
Not working with ember-data v3.2.0-beta.2 #296
Comments
Given the commit the bisect points at, I suspect model-fragments has a similar race condition to the one we solved in it. |
The root cause is that internalModel is now responsible for deciding the current UI value instead of the attr on the record. This allows us to be lazier about materializing the record. Fragments is currently dependent on the record being materialized and the properties accessed in order to setup |
@runspired thanks a ton! I spent some time trying to pinpoint what the issue was and this helps alot. |
Not sure where to put this, but I have some code that in ED 3.1 worked:
That now requires I set
Was the former never supposed to work? |
I did some spelunking today to see if I could write something that'd follow along with @runspired's comment above, but found it to be a bit more complex than I had originally thought. @runspired Would you be able to spend a little bit of time explaining the thought process of your fix and I'll implement? I got so far as creating a simple dummy repo with my above example and linking edmf. It doesn't seem as if in Instead it calls:
I'm stuck on what function we should extend. Any help would be very much appreciated. 🍻 |
After upgrading from 3.2.0-beta.1 to 3.2.0-beta.2 I've got some issues related to serializing fragments:
This project's tests don't pass either. git bisect points to emberjs/data#5413
/cc @runspired
The text was updated successfully, but these errors were encountered: