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

fix: miniGraphiQL component GET requests have undefined query and variables #42

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

jasonbahl
Copy link
Contributor

@jasonbahl jasonbahl commented Dec 20, 2023

This PR updates the MiniGraphiQL fetcher to set the url and variables from the GraphiQL Component and pass it as queryParams to the GET request.

closes #39

BEFORE

CleanShot 2023-12-20 at 13 08 25

AFTER

CleanShot 2023-12-20 at 13 08 05

…QL Component and pass it as queryParams to the GET request
@jasonbahl jasonbahl self-assigned this Dec 20, 2023
Copy link

vercel bot commented Dec 20, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
acf-wpgraphql-com ✅ Ready (Inspect) Visit Preview Dec 20, 2023 8:08pm

Check out the recent updates to your Atlas preview environment:

App Environment URL Build
acf.wpgraphql.com preview-env-fix/graphiql-get-requests-failing https://hq…wered.com ✅ (logs)

Learn more about preview environments in our documentation.

@jasonbahl jasonbahl merged commit fcff559 into main Dec 20, 2023
5 checks passed
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

Successfully merging this pull request may close these issues.

Use GET requests for public GraphQL component
1 participant