StarWars icon indicating copy to clipboard operation
StarWars copied to clipboard

How create IQueryable according the GraphQL query?

Open janskoruba opened this issue 7 years ago • 1 comments

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.

janskoruba avatar Mar 19 '17 13:03 janskoruba

Yes it's possible, take a look at this:

https://github.com/ckimes89/graphql-net

hfmm99 avatar Feb 02 '18 22:02 hfmm99