Skip to content

Always provide access to child data at the RelatedResourceEntity level  #627

Description

@andrus

When processing a select, depending on a resolver, child objects may or may not be stored in ResourceEntity. The default Cayenne strategy ("relatedViaQueryWithParentExp") actually stores them, while a few others like "relatedViaParentPrefetch" do not. This causes issues like #626.

We must change the resolver lifecycle, to unconditionally store children in their respective ResourceEntities, regardless of the how they were resolved. This will make the rest of the pipeline more sane, as well as simplify RelatedDataResolver itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions