-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into linkable-spec-lib
- Loading branch information
Showing
55 changed files
with
971 additions
and
393 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'hive': minor | ||
--- | ||
|
||
Modify GraphQL fields used by CLI to accept an optional specified target that is used for | ||
identifying the affected target instead of resolving the target from the access token. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'hive': patch | ||
--- | ||
|
||
A minor defect in Laboratory has been fixed that previously caused the application to crash when local storage was in a particular state. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
'@graphql-hive/cli': minor | ||
--- | ||
|
||
Add `--target` flag for commands `app:create`, `app:publish`, `operations:check`, `schema:check`, | ||
`schema:delete`, `schema:fetch`, `schema:publish` and `dev`. | ||
|
||
The `--target` flag can be used to specify the target on which the operation should be performed. | ||
Either a slug or ID of the target can be provided. | ||
|
||
A provided slug must follow the format `$organizationSlug/$projectSlug/$targetSlug` (e.g. | ||
`the-guild/graphql-hive/staging`). | ||
|
||
**Example using target slug** | ||
|
||
```bash | ||
hive schema:publish --target the-guild/graphql-hive/production ./my-schema.graphql | ||
``` | ||
|
||
A target id, must be a valid target UUID. | ||
|
||
**Example using target id** | ||
|
||
```bash | ||
hive schema:publish --target a0f4c605-6541-4350-8cfe-b31f21a4bf80 ./my-schema.graphql | ||
``` | ||
|
||
**Note:** We encourage starting to use the `--target` flag today. In the future the flag will become | ||
mandatory as we are moving to a more flexible approach of access tokens that can be granted access | ||
to multiple targets. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.