To return all the data, I can use
{
allEmployees {
edges {
node {
id
name
}
}
}
}
I have the variable
{"name": "Roy"}
How do I select all the employees named Roy?
This depends on what your GraphQL schema looks like. Capabilities like filtering aren't part of GraphQL, they're something that you can build into your GraphQL schema. I would look into what arguments the allEmployees
field accepts.