Skip to content
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

Included ( second level ) data is not passing through Orbit if they are not cached ! #405

Open
i-avm opened this issue May 16, 2022 · 0 comments

Comments

@i-avm
Copy link

i-avm commented May 16, 2022

include = X.Y

Even though the included properties are there in the response, the properties of resource Y is undefined if they are not cached with an additional direct GET to the Y resource

On debugging found this code

https://github1s.com/orbitjs/ember-orbit/blob/HEAD/addon/-private/store.ts#L335-L336

Any chance for the cache lookup handling to cause this issue ? Or is this a deliberately added flow ?

@i-avm i-avm changed the title Store keyMap is not getting updated after removeRecord operation Included data is not passing through Orbit if they are not cached ! Sep 26, 2023
@i-avm i-avm changed the title Included data is not passing through Orbit if they are not cached ! Included ( second level ) data is not passing through Orbit if they are not cached ! Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant