Closed a-marcel closed 7 years ago
With my pullRequest it's possibile to give the name of the GraphQL field
.field(GraphQLFieldDefinition.newFieldDefinition()
.type(Scalars.GraphQLInt)
.name("named_property")
.dataFetcher(new MethodDataFetcher(
"namedProperty",
null,
_impl.orElse(null),
"named_property"))
.build())
Thanks for the PR, I've accepted your change.
Hello
i've a POJO like this.
and i define a GraphQL field
_impl is the TestClass.
and i get this error.
is it possible to have a fieldname, different from the POJO ?
Thanks Marcel