graphql-dotnet / graphql-dotnet/graphql-client

Extract requested fields from query/response

Open
#580 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
648
Forks
136
PR merge metrics
No merged PRs in 30d

Description

Hi there,

I would like to ask if there is an easy way to access requested fields from an executed query?

My processing looks like that:

1) receive query-string from external source
2) create GraphQLRequest(string)
3) client.SendQueryAsync>(graphqlRequest)

For some reason I need the data which was requested, if the query returns data its quite easy (as I may use the json to derive fields from), but I now need that also for the case that no data is returned.

Thanks in advance,
Stefan

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.