How to expose graphql field with different name
You can use GraphQL Aliases to modify individual keys in the JSON response. If this is your original query query { POJO { id name } } you can introduce a GraphQL alias userName for the field name like so: query { POJO { id userName: name } } You can also use GraphQL aliases … Read more