I am exploring GraphQL and would like to know if there is any way of renaming the response field for example i have a POJO with these field
class POJO {
Lo
Looks like GraphQLName annotation can help.
Example from documentation : "Additionally, @GraphQLName can be used to override field name. You can use @GraphQLDescription to set a description."
These can also be used for field parameters:
public String field(@GraphQLName("val") String value) {
return value;
}