Skip to content

What is the recommended way to manage and structure queries that returns a list with the error plugin #1248

Answered by hayes
zulhilmizainuddin asked this question in Q&A
Discussion options

You must be logged in to vote

You can see an example of how list fields work here: https://stackblitz.com/edit/typescript-2ptbbh?file=index.ts

The directResult option doesn't work on list fields, so a Result type with a data field containing the list will be created instead.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by hayes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants