Skip to content

(GraphQL API) Add/UpdateTypePayload use lowercase instead of camelCase for Type field #5380

@CosmicPangolin

Description

@CosmicPangolin

What version of Dgraph are you using?
20.03.1

Have you tried reproducing the issue with the latest release?
Yep

What is the hardware spec (RAM, OS)?
N/A

Steps to reproduce the issue (command/config used to run Dgraph).
N/A

Expected behaviour and actual result.
Currently type-named payload fields are lowercase instead of camelCase. This seems at odds with the rest of the query structure (eg, query/mutation names and other generated fields throughout the schema).

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/graphqlIssues related to GraphQL support on Dgraph.kind/enhancementSomething could be better.status/acceptedWe accept to investigate/work on it.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions