apollographql / apollo-kotlin

:rocket:  A strongly-typed, caching GraphQL client for the JVM, Android, and Kotlin multiplatform.
https://www.apollographql.com/docs/kotlin
MIT License
3.76k stars 655 forks source link

[compiler] Make apollo-compiler aware of federation #6223

Closed martinbonnin closed 2 weeks ago

martinbonnin commented 3 weeks ago

Fixes https://github.com/apollographql/apollo-kotlin/issues/6221

I'm not 100% sold on this solution yet. If other directives appear, we can have the problem again. But maybe it's good that we have this problem? Clients should use introspection results. But sometimes introspection is disabled. And directives are not exposed in introspection...

tldr; this should at least fix the above issue while keeping our future options relatively open.

svc-apollo-docs commented 3 weeks ago

✅ Docs Preview Ready

No new or changed pages found.

netlify[bot] commented 3 weeks ago

Deploy Preview for apollo-android-docs canceled.

Name Link
Latest commit bf8099dd533a059573302bb6c038ef0d1f0dc8c0
Latest deploy log https://app.netlify.com/sites/apollo-android-docs/deploys/671f6f58c63c210008c27540
martinbonnin commented 2 weeks ago

Closing in favor of https://github.com/apollographql/apollo-kotlin-ffs