Use GraphQL abstract syntax tree (ast) to only retrieve columns in the query
Opened this issue · 0 comments
johncmckim commented
The GraphQL resolve
method includes an ast
as an argument. This allow the user to only select the fields that the query contains. See http://pcarion.com/2015/09/26/graphql-resolve/