Skip to content

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

@i-avm

Description

@i-avm

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions