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

Improve SPARQL / GQL debugging #1715

Open
bprusinowski opened this issue Sep 4, 2024 · 0 comments · May be fixed by #1782
Open

Improve SPARQL / GQL debugging #1715

bprusinowski opened this issue Sep 4, 2024 · 0 comments · May be fixed by #1782
Labels
enhancement New feature or request

Comments

@bprusinowski
Copy link
Collaborator

It would be helpful to include more metadata in the GRAPHQL section in the debug panel – currently it's impossible to know the "source" of a given query (e.g. a client-side hook called from configurator-state.tsx file to populate urql cache).

The idea would be to be able to pass e.g. a "queryReason" and "querySource" properties to urql hooks, that would be passed down the road to GQL server, which would include them in extensions shown in the debug panel.

With this change, we would be able to more easily investigate why a particular query was made, and how we could potentially improve the whole data fetching flow.

cc @Rdataflow

@bprusinowski bprusinowski added the enhancement New feature or request label Sep 4, 2024
@bprusinowski bprusinowski linked a pull request Oct 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant