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
java.lang.ClassCastException: class graphql.language.NonNullType cannot be cast to class graphql.language.TypeName (graphql.language.NonNullType and graphql.language.TypeName are in unnamed module of loader 'app')
at com.coxautodev.graphql.tools.relay.RelayConnectionFactory$DirectiveWithField.getTypeName(RelayConnectionFactory.kt:89)
at com.coxautodev.graphql.tools.relay.RelayConnectionFactory.createDefinitions(RelayConnectionFactory.kt:50)
It doesn't appear that Relay spec requires connections, so this is probably a bug.
The text was updated successfully, but these errors were encountered:
b4eEX
changed the title
RelayConnectionFactory generates nullable connection types
RelayConnectionFactory generates nullable connection types
Nov 21, 2018
Specifying nullable connection fields, like this, works OK:
However, making
EntityConnection
non-nullresults in
It doesn't appear that Relay spec requires connections, so this is probably a bug.
The text was updated successfully, but these errors were encountered: