Open
Description
I have the following structure:
/
schema/
root.zed
domain.zed
tests/
test_one.yaml
root.zed
definition user {}
import "./domain.zed"
domain.zed
definition domain {
relation read : user;
}
test_one.yaml
schemaFile: ../schema/root.zed
When I run zed validate schema/root.zed
it runs fine.
When I run zed validate tests/test_one.yaml
it complains "parse error in ``, line 9, column 1: failed to read import in schema file"
If I use the preview compiler first, then the tests runs fine.
Is this expected?
Metadata
Metadata
Assignees
Labels
No labels