Skip to content

Commit 3f551c7

Browse files
shishuwuyrashk
authored andcommitted
Fix issue #51 @GraphQLName problem (#52)
Update the readme.md document.
1 parent c3ef8a0 commit 3f551c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ public class SomeObject {
6969
}
7070
}
7171
```
72+
> Note: You need to use `-parameters` javac option to compile, which makes argument name as the default GraphQL name. Otherwise, you will need to add the `@GraphQLName("value")` annotation to specify one.
7273
7374
You can also inject `DataFetchingEnvironment` as an argument, at any position:
7475

0 commit comments

Comments
 (0)