From d1fcb44b55ef4d6db9ce60e0ef353d0094552cb1 Mon Sep 17 00:00:00 2001 From: Tanner Stirrat Date: Mon, 3 Nov 2025 13:09:03 -0700 Subject: [PATCH] Add to list of new keywords --- pages/spicedb/modeling/composable-schemas.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/spicedb/modeling/composable-schemas.mdx b/pages/spicedb/modeling/composable-schemas.mdx index 20f4d3a..91ef72b 100644 --- a/pages/spicedb/modeling/composable-schemas.mdx +++ b/pages/spicedb/modeling/composable-schemas.mdx @@ -71,7 +71,7 @@ written to SpiceDB but not compiled. The obvious breaking changes are `import` and `partial` becoming keywords, so if you have a permission or relation with those names, your schema can't be compiled. -We have also reserved some keywords for future use, such as `and`, `or`, and `not`. +We have also reserved some keywords for future use, such as `use`, `and`, `or`, and `not`. If you get an unexpected `TokenTypeKeyword` error, this is probably why. 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.