Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Commit

Permalink
Update schema proposals editor abilities (#939)
Browse files Browse the repository at this point in the history
* Update schema editor abilities

* Copyedit

* Vale
  • Loading branch information
Meschreiber authored Sep 26, 2024
1 parent 9635240 commit e5dc9a7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/content/graphos/delivery/schema-proposals/creation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,18 @@ You can directly edit one or more subgraph schemas from a proposal's **Editor**
alt="Schema proposals editor in GraphOS Studio"
/>

To start a new subgraph, click **+Add new** from the subgraph schema selector in the left navigation.
You can also delete existing subgraphs and rename newly created ones by clicking the **•••** menu to the right of a subgraph's name.
The proposals editor provides features like autocomplete, hovering over types and directives for more information, and syntax and schema validation.

The editor also lets you run composition on your proposed changes to uncover composition errors before you finalize your proposal.
To run composition, click the icon with three boxes in the top right of the editor.
Next to the button, you can toggle on **Compose on change** so that composition automatically runs on every change.

<Note>

For extremely large, complex schemas, composing on each change may affect browser performance.
If you notice your browser lagging, consider keeping **Compose on change** off.

</Note>

### Lint changes

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e5dc9a7

Please sign in to comment.