Skip to content

Commit 5cbe9c3

Browse files
authored
Add to list of new keywords (#406)
1 parent 336e5db commit 5cbe9c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/spicedb/modeling/composable-schemas.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ written to SpiceDB but not compiled.
7171

7272
The obvious breaking changes are `import` and `partial` becoming keywords, so if you have a permission or
7373
relation with those names, your schema can't be compiled.
74-
We have also reserved some keywords for future use, such as `and`, `or`, and `not`.
74+
We have also reserved some keywords for future use, such as `use`, `and`, `or`, and `not`.
7575
If you get an unexpected `TokenTypeKeyword` error, this is probably why.
7676
A full list of reserved keywords can be found in [`keyword` map definition](https://github.com/authzed/spicedb/blob/main/pkg/composableschemadsl/lexer/lex_def.go#L74) in the lexer.
7777

0 commit comments

Comments
 (0)