Skip to content

Commit 7f3407e

Browse files
remove preview from zed schema compile command (#537)
1 parent 32bfbc7 commit 7f3407e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

  • app/spicedb

app/spicedb/getting-started/installing-zed/page.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -969,12 +969,12 @@ zed permission lookup-subjects <resource:id> <permission> <subject_type#optional
969969

970970

971971

972-
## Reference: `zed preview schema compile`
972+
## Reference: `zed schema compile`
973973

974974
Compile a schema that uses import syntax into one that can be written to SpiceDB
975975

976976
```
977-
zed preview schema compile <file> [flags]
977+
zed schema compile <file> [flags]
978978
```
979979

980980
### Examples

app/spicedb/modeling/composable-schemas/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Callout, Tabs } from "nextra/components";
55
To make it easier to organize your schema and collaborate across teams, `zed` version v0.27.0 introduced a new schema compilation command that allows you to modularize your schema.
66

77
```
8-
zed preview schema compile root.zed
8+
zed schema compile root.zed
99
```
1010

1111
The command allows you to combine a schema that is spread across many files, for example:

0 commit comments

Comments
 (0)