Abhishek Chadha

Abhishek Chadha

  • 325
  • 5.1k
  • 461.7k

GraphQLRequest variables in c#

Aug 17 2021 11:46 AM

 var getOrdersByWaveRequest1 = new GraphQLRequest
                {

                    Query ="query",
                     Variables=new {

                          input = new product()
                        }

                };

graphQLClient.SendQueryAsync<ProductResponse>(WaveRequest1)

I'm using above code to call Graphql API and I'm getting the result but everytime I'm not getting the result according to the variables I passed
Anyone can help me here 


Answers (1)