-
Notifications
You must be signed in to change notification settings - Fork 362
Remove custom directives from Federated GraphQL schema _service{sdl} #374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove custom directives from Federated GraphQL schema _service{sdl} #374
Conversation
Codecov Report
@@ Coverage Diff @@
## master #374 +/- ##
============================================
+ Coverage 97.61% 97.61% +<.01%
Complexity 318 318
============================================
Files 104 104
Lines 1215 1217 +2
Branches 198 198
============================================
+ Hits 1186 1188 +2
Misses 9 9
Partials 20 20
Continue to review full report at Codecov.
|
While we certainly could follow the pattern with manually modifying the federated SDL I personally feel that this is not the best solution. I opened up an issue against Lets keep this open for the time being and see whats the proper long term fix. |
I agree.. I personally curious why apollo gateway not support _service{sdl} with all definition information |
[question] what if we use this kind of manually transformation for this version.. while we wait for proper solution.. so we can use federation for current apollo version. Currently query _service{sdl} being used for gateway only, right? |
…clared-derective-from-sdl-service
...eration/src/main/kotlin/com/expediagroup/graphql/federation/FederatedSchemaGeneratorHooks.kt
Outdated
Show resolved
Hide resolved
...eration/src/main/kotlin/com/expediagroup/graphql/federation/FederatedSchemaGeneratorHooks.kt
Outdated
Show resolved
Hide resolved
...eration/src/main/kotlin/com/expediagroup/graphql/federation/FederatedSchemaGeneratorHooks.kt
Outdated
Show resolved
Hide resolved
update name variables regex
...eration/src/main/kotlin/com/expediagroup/graphql/federation/FederatedSchemaGeneratorHooks.kt
Show resolved
Hide resolved
…e-from-sdl-service' into bug-fix/remove-declared-derective-from-sdl-service
Thank you for the contribution! |
…xpediaGroup#374) * Remove Declared Directive from _service{sdl} * don't remove `deprecated` directive from SDL update name variables regex * add todo to simplify code, once this issue is solved: apollographql/apollo-server#3334
📝 Description
Remove custom directive from federated GraphQL schema
_service { sdl }
.🔗 Related Issues
#373