Skip to content

@oneOf input object type merging #214

@tobias-tengler

Description

@tobias-tengler

I would propose to have a new pre-merge validation rule that validates that all input object types need to be annotated with the @oneOf directive, if at least one in their set is annotated with it. The rule could be called INPUT_WITH_MISSING_ONEOF.

If that rule passes the @oneOf directive is composed onto the composite input object type.

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