Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Hi!
Did you follow this specification https://www.apollographql.com/docs/federation/federation-spec/ to build the Netflix DGS Gateway? Maybe shall we consider building an open-source one in Java/Kotlin?
I didn't find a Java Gateway in the market available so far.
In the case of Federation, the query entry point is the
apollo/gatewayso I would end up using the javascript libraries reported in this article https://moonhighway.com/securing-your-graphql-server to cover RateLimiting, QueryComplexity, and DepthLimit at theapollo/gatewaylevel.Should we cover these aspects in some Netflix DGS modules for GraphQL setup without federation?
For the interested reader: I found that it is pretty easy to cover the query complexity via https://github.com/graphql-java/graphql-java/blob/master/src/main/java/graphql/analysis/MaxQueryComplexityInstrumentation.java.
Beta Was this translation helpful? Give feedback.
All reactions