Is it possible to input one argument out of two in GraphQL?
I have a situation where in I have to input one parameter out of the given two.
Suppose the schema is
input fruit {
apple: Apple
banana: banana
}
Now, if user inputs apple, then he cannot input banana and vice-versa. Is this possible in GraphQL?