Joseph Schorr
Joseph Schorr
@theronic What, exactly, are you trying to do? What is your intention around if the schema has changed?
We could look into adding a SchemaDiff API, but you could just also call WriteSchema; if there are no changes, it'll no-op
We have our database migrations also call WriteSchema, so they move in sync
We should look into exporting the diff library via the API
> Thanks. How do you keep track of which schema version was written to Spice? External hash / commit / version number in DB? Yep > Would be nice if...
> Is there a BNF syntax spec somewhere for the Schema language in the meantime so I can parse the schema text and compare the sorted parse tree? No. The...
In order to do so, we'd have to change the text format parser to treat any `:` after the first in the text format as part of the object ID...
Hi @TristonianJones, any updates on this? We would find it incredibly useful to be able to provide better errors messages when CEL evaluation fails. Happy to help if need be.
Just noticed this issue and thought I might provide some guidance in case someone is still interested in running CEL via WASM. SpiceDB [compiles to WASM](https://authzed.com/blog/some-assembly-required) and uses CEL as...
@TristonianJones Yep and yeah, the binary size is quite large (~25MB) but since we can aggressively cache it, its not a huge deal to background load it the first time...