Also if the spiceDB schema is changing
# spicedb
m
Also if the spiceDB schema is changing is there a way to generate an event in spiceDB that the schema changed?
v
Yes, it is possible, and it's actually implemented, but not exposed via the API. The
Datastore Watch API
does emit schema events. The bulk of the work is already done, we just haven't decided how to expose it via the
SpiceDB Watch API
. Feel free to open an issue to keep track of it.
but in short, there is no current way, but the foundation is in place to be able to do so
m
thank you is the Datastore Watch API something that is available or is it something private?
v
it's part of SpiceDB codebase, actually exported package, but you are on your own wiring it all up
2 Views