I’m using the admin API to post a schema to dgraph in my cluster, which I deployed using the helm chart.
When I was using Slash GraphQL, the generated schema retained the casing in my type names. However, when I introspect the generated schema in my own cluster, the names of types in the Payloads of resolvers (e.g. AddXXX and UpdateXXX) are now all lowercase.
e.g. what used to be
UpdateTaxonomyNodePayload {
numUids: Int
taxonomyNode: TaxonomyNode
}
is now:
UpdateTaxonomyNodePayload {
numUids: Int
taxonomynode: TaxonomyNode
}
This is a known bug in v20.03.x, and has already been fixed in v20.07.x. That is the reason you are getting the correct result with Slash GraphQL because it is running the newer version.