First thing
Appreciate this may be a bit of a stupid question, but I\'m working with GraphQL having come from the RDF/Linked Data world and having a
First you need to extend you query by adding a "humans":
extend type Query {
humans(listId: [String!]): [Human!]
human(id: ObjID!): Human
}
Second - write a resolver for it.
Query: {
humans(root, {listId}, { Human }) {
return Human.fillAllByListId(listId);
},
...
},
List of IDs could be passed as follows: