Skip to content
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

Using multiple endpoints #86

Open
idkjs opened this issue Jul 17, 2019 · 3 comments
Open

Using multiple endpoints #86

idkjs opened this issue Jul 17, 2019 · 3 comments

Comments

@idkjs
Copy link

idkjs commented Jul 17, 2019

How would you set this up if you had two clients hitting multiple endpoints for different purposes.

I am trying to hit a https://api.graphloc.com/graphql just for geo coordinates while using a different endpoint for everything else. Compiler complains because I haven't run yarn send-introspection-query on that endpoint. Is this possible with this ppx?

Thank you.

@baransu
Copy link
Contributor

baransu commented Jul 19, 2019

There is #82 if you want to override graphql_schema.json per query. Due to lack of @mhallin feedback, I doubt it will be merged anytime soon 😕

@idkjs
Copy link
Author

idkjs commented Jul 19, 2019

@baransu nice tip,sir. Thank you. I will try it.

@wu-s-john
Copy link

I would really love to have this as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants