Skip to content

improve relationships to avoid circular loads #21

@matt-beanland

Description

@matt-beanland

Ash doesn't protect against infinite looping due to circular loads. I initiated a support Q on discord about this and learn that i) it probably never will and ii) best practice is to limit or completely avoid loads in actions, iii) loads can be added into the code interface, this is good as they only apply to the immediate resource. I'd like to avoid having the consumer of the code interface need to explicitly load things, but they do have this option.

We'd probably like the relationship not to load the target by default, but of course to still have the href from the target, which will need to be a calculation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    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