[19:07:58] ~/Documents/GitHub/zed (main) $ ./zed validate ../spicedb-clone/demo/demo.yaml
Success! - 71018 relationships loaded, 0 assertions run, 0 expected relations validated
[19:11:10] ~/Documents/GitHub/zed (main) $ ./zed import ../spicedb-clone/demo/demo.yaml
7:11PM WRN not calling a released version of SpiceDB version=a81358557206-dirty
7:11PM INF importing schema
7:11PM ERR terminated with errors error="error importing schema: rpc error: code = InvalidArgument desc = parse error in `schema`, line 3, column 1: import statements are not allowed in this context"
The YAML:
---
schemaFile: "./with-import-root.zed"
The zed
use import
import "with-import-common.zed"
The YAML:
The zed