i'm trying to get a CI flow together for schema va...
# spicedb
y
i'm trying to get a CI flow together for schema validation and testing. I'd like to keep my schema separate from the validations and have a single source of truth (accounting for
zed schema write
and
zed validate
having different shapes), so I've written a script that sticks them together in a tempfile. This works, but when I went to add comments to my schema, the validations started failing. I can reproduce if I create a validations file that has a schema with comments. Something like this will trigger it:
Copy code
schema: >-
  // This is a user
  definition user {}
relationships:
assertions:
  assertTrue:
  assertFalse:
validations:
which errors. is that expected behavior?