JasonS JasonS - 4 years ago 205
Java Question

graphql-java-annotations: Argument must be annotated with @GraphQLName, otherwise it would fail

If i don't add

, then method would not be recognized correctly! (version: 0.13.2)

public String findByName(@GraphQLName("name") String name){
return null;

Answer Source

You need to compile your class with following javac option: -parameters

More detailed you could refer my submitted issue on Github.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download