Closed
Description
I would need GraphQLUnionType
to work also as an input type. I need to pass a list of different conditions to the server.
Example (start processing products where (A or B and C) - order is important):
mutation RootMutation {
startProcessing({
kind: "product",
filter: [
{kind: "A", period: "1 min"}, // type1
{operand: "or", kind: "B", tag: "smart"}, // type2
{operand: "and", kind: "C", tag: "small"} // type2
]
}){kind}
}
Metadata
Metadata
Assignees
Labels
No labels
Activity