Closed
Description
I was wondering if querying a schema via specific arguments is supposed to work out of the box or if anything special must be done to make it work?
In case of the flask example, I was expecting the following to be a valid query:
{
role(roleId: 2) {
roleId
name
}
}
But I only get
Unknown argument "roleId" on field "role" of type "Query".
So how would I need to extend the example so that I could search employees by their name or retrieve a role via the ID? Or is my query just wrong?
Metadata
Metadata
Assignees
Labels
No labels