<@UGZ0LDNCU> Hi! I am facing the same issue and my...
# graphql-kotlin
f
@Shane Myrick Hi! I am facing the same issue and my question is, how to correctly use
willResolveMonad
for relay api? From the example, I understand that it will generate the type of second argument (
type.arguments.firstOrNull()?.type
). But that will for
Connection<MyObj>
generate only
MyObj
entity in graphql schema which I don't want. Maybe I don't understand schema hooks correctly. But it is somehow possible to generate
...Connection
class for each entity in my graphql server supporting relay? All my objects use
DefaultConnection
from GraphQL Java https://github.com/graphql-java/graphql-java/blob/master/src/main/java/graphql/relay/DefaultConnection.java#L15 I also found
Relay()
class which has some GraphQLObjectType implementations, but I am not sure how to use it in graphql kotlin library -> https://github.com/graphql-java/graphql-java/blob/master/src/main/java/graphql/relay/Relay.java#L160