-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Hello, I'm the original creator and maintainer of the GraphQL for .NET project. I have originally setup the project to serialize all fields as camelCase since that is my preference and seemingly idiomatic JavaScript/GraphQL. In the .NET world however there can be strong preference for PascalCase even in your returned JSON structure.
That being said, I know the spec specifically points out that a Name is case-sensitive. My question is, if I change my project to allow case-sensitive fields, which fields still need to be camelCase to conform to the spec?
These seem to be required to be camelCase
dataerrors, with a lowercasemessage,locations,lineandcolumn
Ones I'm unsure about - all the fields related to introspection (and that are on introspection types), such as
name,description,args,type,isDeprecated,deprecationReason,defaultValue, etc.__schema,__typename,__type, etc.
Are there others that I'm missing?
What do I need to ensure is camelCase to conform to the spec? Thanks!