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

Update schema proposals editor abilities #939

Merged
merged 4 commits into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading