We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f335281 + dcf81cf commit e20117cCopy full SHA for e20117c
documentation/field-selection.md
@@ -39,7 +39,7 @@ DataFetcher smartUserDF = new DataFetcher() {
39
String userId = env.getArgument("userId");
40
41
DataFetchingFieldSelectionSet selectionSet = env.getSelectionSet();
42
- if (selectionSet.contains("user/*")) {
+ if (selectionSet.contains("friends/*")) {
43
return getUserAndTheirFriends(userId);
44
} else {
45
return getUser(userId);
0 commit comments