File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/graphql/annotations Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ public User defaultUser2() {
6363 @ Test
6464 public void detachedCall () {
6565 GraphQLAnnotations graphQLAnnotations = new GraphQLAnnotations ();
66- GraphQLObjectType queryObject = graphQLAnnotations .object (Query .class );
66+ GraphQLObjectType queryObject = graphQLAnnotations .getObject (Query .class );
6767 GraphQL graphql = GraphQL .newGraphQL (newSchema ().query (queryObject ).build ()).build ();
6868
6969 ExecutionResult result = graphql .execute ("{ defaultUser{ name } }" );
@@ -74,7 +74,7 @@ public void detachedCall() {
7474 @ Test
7575 public void staticCall () {
7676 GraphQLAnnotations graphQLAnnotations = new GraphQLAnnotations ();
77- GraphQLObjectType queryObject = graphQLAnnotations .object (Query .class );
77+ GraphQLObjectType queryObject = graphQLAnnotations .getObject (Query .class );
7878 GraphQL graphql = GraphQL .newGraphQL (newSchema ().query (queryObject ).build ()).build ();
7979
8080 ExecutionResult result = graphql .execute ("{ defaultUser2{ name } }" );
You can’t perform that action at this time.
0 commit comments