StarWars
StarWars copied to clipboard
How create IQueryable according the GraphQL query?
I want to create optimize sql query according the graphql query. Is it possible create some mapping the GraphQL query to IQueryable for Entity Framework?
For example - If you want to get hero without his friends collection or with his friends. It will be different complicated query on SQL server. How can I solve this issue?
Thank you.
Yes it's possible, take a look at this:
https://github.com/ckimes89/graphql-net