var queryBuilder = new QueryQueryBuilder()
.WithParameter(new GraphQlQueryParameter<Toggle?>("isEnabled"))
.WithDevices(new DeviceQueryBuilder()
.WithName()
.WithEnabled(),
new GraphQlQueryParameter<Toggle?>("isEnabled"));
This throws exception
System.ArgumentException: value required (Parameter 'graphQlTypeName')
at SampleServer.GeneratedGraphqlClient.QueryBuilderParameter`1.EnsureGraphQlTypeName(String graphQlTypeName) in C:\SampleServer.Tests\GeneratedGraphqlClient.cs:line 454
at SampleServer.GeneratedGraphqlClient.QueryBuilderParameter`1..ctor(String name, String graphQlTypeName) in C:\SampleServer.Tests\GeneratedGraphqlClient.cs:line 438
at SampleServer.GeneratedGraphqlClient.GraphQlQueryParameter`1..ctor(String name, String graphQlTypeName) in C:\SampleServer.Tests\GeneratedGraphqlClient.cs:line 472
at SampleServer.Tests.Tests.Test() in C:\SampleServer.Tests\Tests.cs:line 15
Consider the following schema
And the following query
This throws exception