Skip to content

filtering lists of union types #112

@hartig

Description

@hartig

Consider the following part of a DB schema.

union U = A | B

type X {
  myUs: [U]
}

When generating the API schema for this part, the field myUs is extended with an argument that allows users to filter the retrieved list of U objects. However, since U is a union type, it is not immediately clear what the corresponding input type for this filter should look like. The purpose of this issue is to develop an idea for this case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogKeep open for later (typically, not a problem for SPIRIT but maybe for other woo.sh projects)new featureNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions