Skip to content

Ability to set KitQLClient url #139

Answered by jycouet
JamieDW asked this question in Q&A
May 20, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Thank you for your feedback.
Today this is not possible to have 2 clients (2 endpoints) at the same time.

I wonder how common is this use case? 🤔
You can do a regular fetch to login there? or do you have 50% queries on one endpoint and 50% on the other endpoint?

There is a reason to not merge these 2 endpoints? Something like 👇

graph TD;
    subgraph 2 endpoints
    AA[GraphQL A]-->AC[Your client app];
    AB[GraphQL B]-->AC;
    end

    subgraph one mesh - merging 2 endpoints
    BA[GraphQL A]-->MESH[GraphQL Merged];
    BB[GraphQL B]-->MESH[GraphQL Merged];
    MESH-->BC[Your client app];
    end
Loading

Let me know, I'm curious 👍

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@JamieDW
Comment options

@jycouet
Comment options

Answer selected by jycouet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants