Support resolving Entities sent it through @requires resolution to types #265
sshevlyagin
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, if you're using
dgs-frameworkwith federation and use the@requiresdirective you don't benefit from the generated types,for example if your schema was
you data fetcher would be
Is it possible to convert the variables under representations to a known type similar to what Expedia does in Kotlin? https://github.com/ExpediaGroup/graphql-kotlin/blob/245b4579103e5a20ea9f4d770786aad8e9c92eb1/generator/graphql-kotlin-federation/src/main/kotlin/com/expediagroup/graphql/generator/federation/execution/EntityResolver.kt
Beta Was this translation helpful? Give feedback.
All reactions