We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm trying to use fauna-shell to upload schema.graphql:
fauna upload-graphql-schema fauna/schema.graphql --domain db.us.fauna.com --secret SECRET_HERE --mode override
But I keep getting:
UPLOADING SCHEMA (mode=override): fauna/schema.graphql TypeError: Only HTTP(S) protocols are supported
I finally got it to work by running:
fauna upload-graphql-schema fauna/schema.graphql \ --domain db.us.fauna.com \ --secret asdasd \ --mode override \ --graphqlHost graphql.us.fauna.com \ --scheme https \ --graphqlPort 443
notice how I had to provide all options which were supposed to be optional -- which I think is a bug.
PS: DON'T USE --method override!! IT WILL CLEAR ALL RECORDS IN ALL YOUR COLLECTIONS, IT'S ESSENTIALLY THE SAME AS STARTING FROM SCRATCH.
--method override
FULL STORY HERE: https://forums.fauna.com/t/using-fauna-shell-to-upload-graphql-schema-for-ci-cd/2826
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm trying to use fauna-shell to upload schema.graphql:
But I keep getting:
I finally got it to work by running:
notice how I had to provide all options which were supposed to be optional -- which I think is a bug.
PS: DON'T USE
--method override
!! IT WILL CLEAR ALL RECORDS IN ALL YOUR COLLECTIONS, IT'S ESSENTIALLY THE SAME AS STARTING FROM SCRATCH.FULL STORY HERE: https://forums.fauna.com/t/using-fauna-shell-to-upload-graphql-schema-for-ci-cd/2826
The text was updated successfully, but these errors were encountered: