garden-aid/web-bff

Use GraphQL abstract syntax tree (ast) to only retrieve columns in the query

Opened this issue · 0 comments

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/