I have a GraphQL schema set up that successfully supports queries. However when attempting a mutation I get the following strange error:
Error "message": "GraphQL.Validation.ValidationError: Cannot query field \"id\" on type \"IdeaInput\". Did you mean \"id\"?"
Here's the input type for the mutation:
public class IdeaInputType : InputAuditableGraphType<Idea>
{
public IdeaInputType()
{
Name = "IdeaInput";
Description = "Create idea";
Field(x => x.Id);
Field(x => x.Name, true);
Field(x => x.Summary);
}
}
And the data:
This error is returned for the other fields. I've even tried explicitly naming the fields, but the error persists. What could cause this to fail when the expected name and received name are ostensibly identical?