hasura / learn-graphql

Real world GraphQL tutorials for frontend developers with deadlines!
https://hasura.io/learn/
MIT License
1.18k stars 647 forks source link

fix(v3): update secret command used to store connection string (closes #1033) #1034

Open aeswibon opened 3 months ago

aeswibon commented 3 months ago

Description

Updates the usage of the secret command to match with the v3 cli.

Related Issues

Solution

The command should be replaced with:

hasura3 secret set --project <PROJECT_ID_FROM_PREVIOUS_STEP> --environment default --subgraph default --key <KEY> --value <VALUE>
aeswibon commented 3 months ago

@praveenweb Can you check the PR?

praveenweb commented 3 months ago

@aeswibon - Thanks for the PR. Will let @robertjdominguez or @seanparkross from the docs team to review since there are ongoing changes with the CLI commands.

aeswibon commented 3 months ago

Sure, thanks 😊😊

robertjdominguez commented 3 months ago

Thanks for this @aeswibon!

The CLI is undergoing another round of changes as we move into beta very soon. So, while the command is out-of-date, your update actually soon will be, too 🙃

We're going to unlist these courses until the full roll-out of beta is complete, but rest assured we'll get this updated, too 🙌

aeswibon commented 3 months ago

Okay