-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Async relations are deleted after findRecord
query (2.13.0)
#4967
Comments
I'm seeing regressions throughout the whole of my app because of this issue. Basically, whenever I call Surely that can't be normal? |
Has anyone found a solution for this? I'm not sure if I should investigate a work around on my side or dive into taking a look at it in Ember Data to see if I can submit a PR. Is this an intentional change with 2.13? |
I find it very odd there are just two of us with this issue 😳. I had to rewrite several parts of my app, and I can't find nothing in recent release notes that could attribute to this (breaking) change. |
This should be fixed by |
I'm experiencing some odd behaviour which didn't occur in the previous version I upgraded from (2.9.0). I'm using Ember 2.12.1 and Ember-Data 2.13.0.
I have two models,
UrlGroup
andUrl
.They are related (sorry for CoffeeScript):
At some point in my app, I load the
urls
into aurlGroup
, like this:This works fine and I can operate with
{{urlGroup.urls}}
just fine and list them in my template.But some time later in the app, I do this request:
And this causes my
urlGroup.urls
to lose whatever it contained before (multiple urls), and leave it containing only theurl
fetched with thefindRecord
.I'm using the
ActiveModelAdapter
, and this is the response fromfindRecord
:As said, this worked in the previous versions and this current behaviour doesn't seem normal to me. Is this expected?
The text was updated successfully, but these errors were encountered: