How to Expose 2 graphql endpoints using netflix dgs library with spring boot? #1276
Replies: 5 comments 2 replies
-
Hi - We don't currently support exposing 2 graphql endpoints. |
Beta Was this translation helpful? Give feedback.
-
I'd also vote for possibility to expose multiple endpoints. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the input. We will add this for upcoming features. However,
since this is not a high priority for us internally, the feature may take
some time to deliver. We do welcome contributions in the meantime.
…On Mon, Feb 13, 2023 at 3:05 AM Navodar22 ***@***.***> wrote:
I'd also vote for possibility to expose multiple endpoints.
I'd like to have a 1 endpoint */public/graphql* hidden behind for example
saml and second endpoints */internal/graphql* hidden behind different
security.
—
Reply to this email directly, view it on GitHub
<#1276 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJ5JPXOICOR6QER6BMJIXP3WXIIPBANCNFSM6AAAAAARG52T5U>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
@srinivasankavitha Hello! I want to expose two different schemas for two different endpoints. I wanted to know if the said feature is implemented? |
Beta Was this translation helpful? Give feedback.
-
HI @KambleShilpa - we don't have the ability to expose 2 different schemas in the current framework. |
Beta Was this translation helpful? Give feedback.
-
Is there a way to expose 2 graphql endpoints using spring boot netflix dgs library? As alternate, I have seen the post of using ServletRegistrationBean where we can define a GraphQLHttpServlet as a bean, and configure the context path to be /graphql, but this one uses kickstart-library. Looking for similar pattern with using netflix dgs library with spring.
Beta Was this translation helpful? Give feedback.
All reactions