chkimes / graphql-net

Convert GraphQL to IQueryable

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Convert IQueryable to GraphQL query

twchiam opened this issue · comments

Hi folks,

I have a requirement to convert IQueryable to GraphQL query. Is it possible to use this library to convert IQueryable to GraphQLRequest object of https://github.com/graphql-dotnet/graphql-client or Graphql query in string?

var heroRequest = new GraphQLRequest {
    Query = @"
    {
        hero {
            name
        }
    }"
};