-
Notifications
You must be signed in to change notification settings - Fork 2k
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}
}
zdne, capaj, mike-marcacci, yvann, blesswinsamuel and 132 moreschickling, bermanboris, n1ru4l, nicky-lenaers, cbaron and 20 more
Metadata
Metadata
Assignees
Labels
No labels