-
Notifications
You must be signed in to change notification settings - Fork 371
Description
With #1514 the interface for type resolvers has changed to pass a single representation instead of multiple representations. This was done to be more streamlined with other subgraph libraries which makes sense.
However, it comes with the disadvantage that type resolution can not be batched anymore. In our case, we would do a batch load from DynamoDB when receiving representations as that is more efficient than running a query per requested type. With the current interface this is not possible.
What would be the way to reproduce such a logic? I have asked on Slack and a data loader was suggested. From my understanding that does not mean the data loader will automatically be integrated with the type resolver, so I'm guessing some other gluing logic is needed.
Maybe some documentation or helpers in graphql-kotlin could be helpful to make the migration to v7 a little easier?