Skip to content

Make for a dependent to decide whether the associated resource should be created dynamically #1116

@metacosm

Description

@metacosm

There are cases where whether or not a resource needs to be created / updated / deleted, depends on the content of the primary (or even secondary) resource(s). This isn't currently possible but should be supported. A relatively easy to support this use case would be to introduce isCreatable(P primary, Context context) (and associated) methods on AbstractDependentResource so that implementations could provide their own logic if needed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions