You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just noticed that when defining a query that returns a SomethingConnection, the following NullPointerException is thrown if the DataFetcher is not yet implemented and we send execute that query:
java.lang.NullPointerException: Cannot invoke "Object.getClass()" because "container" is null
at org.springframework.graphql.data.pagination.CompositeConnectionAdapter.getAdapter(CompositeConnectionAdapter.java:73) ~[spring-graphql-1.2.0-SNAPSHOT.jar:1.2.0-SNAPSHOT]
at org.springframework.graphql.data.pagination.CompositeConnectionAdapter.getRequiredAdapter(CompositeConnectionAdapter.java:65) ~[spring-graphql-1.2.0-SNAPSHOT.jar:1.2.0-SNAPSHOT]
at org.springframework.graphql.data.pagination.CompositeConnectionAdapter.getContent(CompositeConnectionAdapter.java:49) ~[spring-graphql-1.2.0-SNAPSHOT.jar:1.2.0-SNAPSHOT]
at org.springframework.graphql.data.pagination.ConnectionFieldTypeVisitor$ConnectionDataFetcher.adapt(ConnectionFieldTypeVisitor.java:146) ~[spring-graphql-1.2.0-SNAPSHOT.jar:1.2.0-SNAPSHOT]
at org.springframework.graphql.data.pagination.ConnectionFieldTypeVisitor$ConnectionDataFetcher.get(ConnectionFieldTypeVisitor.java:136) ~[spring-graphql-1.2.0-SNAPSHOT.jar:1.2.0-SNAPSHOT]
The text was updated successfully, but these errors were encountered:
This commit removes an unnecessary test that checks for the pagination
and Connection support in Spring for GraphQL. After a change in
spring-projects/spring-graphql#707, we no longer can test this in
isolation, nor does it make sense to test this integration that
deeply.
See gh-35449
This commit removes an unnecessary test that checks for the pagination
and Connection support in Spring for GraphQL.
After a change in spring-projects/spring-graphql#707, we no longer can
test this in isolation, nor it make sense to test this integration that
deeply.
I've just noticed that when defining a query that returns a
SomethingConnection
, the followingNullPointerException
is thrown if theDataFetcher
is not yet implemented and we send execute that query:The text was updated successfully, but these errors were encountered: