graphql-net
graphql-net copied to clipboard
Convert IQueryable to GraphQL query
Hi folks,
I have a requirement to convert IQueryable<Entity> 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
}
}"
};