-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
Schema is not pulled when using "--headers" #606
Comments
Thanks for reporting this @sdekna! I'll work on a fix this weekend |
So i'm unable to reproduce this with #593 merged. I can't think of what exactly could have changed in that effort but it's very possible this isn't a problem any more. Mind trying again once |
Sure thing! 😄 |
Just to be sure I am not doing something wrong, this is how I am trying to pull the schema:
Both give no errors but pull no schema nor types. |
yea that should work! I was seeing |
excellent. Thanks for the support 🙏😁 |
Okay, |
Now its pulling schema perfectly 🙏 |
That's because it was removed in 0.16.0. Now you can just use the graphql tag directly. I'm out to dinner so I can't grab a link to the docs but you should be able to see an example to copy there |
Just got back. Here is the link to the subscription docs: https://www.houdinigraphql.com/api/subscription |
amazing! everything looks good now... many thanks for the support man! 🙏 |
Describe the bug
I have a Hasura graphql server that requires headers
x-hasura-admin-secret="$secret key"
... However, when I try to initialize houdini with the--headers / -h
necessary argument, it does not pull any schema. Tried headers with other clients and it works.My command is like this:
npx houdini init --headers x-hasura-admin-secret="$secret key"
The initialization process continues normally with no errors, but nothing is pulled... If I try
npx houdini pull-schema
it gives no error but doesn't pull the schema still`.Any ideas?
Severity
blocking all usage of Houdini
Steps to Reproduce the Bug
1- start new project and install dependencies.
2- npx npx houdini init --headers x-hasura-admin-secret="$secret key"
Reproduction
No response
The text was updated successfully, but these errors were encountered: