Abhishek Chadha

Abhishek Chadha

  • 262
  • 7.3k
  • 494.1k

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)