-
Notifications
You must be signed in to change notification settings - Fork 85
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
Laboratory: Query actual graph endpoints #788
Comments
That's a super interesting issue @klippx , thank you for reporting this one. I think at the moment we don't really have the gateway URL (we only store service(s) URLs for projects like Federation or Stitching), so we are not able to send the requests to the actual service. |
An update on this one; we now have the persisted SDL of every schema published, so this makes it easier to have access to the real latest composable schema. This means we are able to use that as introspection. The missing piece is to allow users to specify a runtime URL per target, and then allow to switch between mocked/actual endpoints in the Lab. |
I think we can do the following:
|
In Laboratory today you can only see mock data based on schema types. That misses the central point for us, we need to see real data.
So for example, I have set up my Hive account with two targets: One for staging and another for production. When I am in Laboratory and write a query, I expect it to be sent to a configured endpoint for that target; such as for the staging target I want the query/variables/headers sent toward the staging gateway.
When I execute a query I want it to be sent to that endpoint and see the result resolving real data. I don't want to look at mock data.
The text was updated successfully, but these errors were encountered: