Register object and field for custom list of users
The following code creates an object type called StuntPerformer
and creates a field on the RootQuery called stuntPerformers
that returns a custom list of users.
The following code creates an object type called StuntPerformer
and creates a field on the RootQuery called stuntPerformers
that returns a custom list of users.