Hey is there by any chance a SpiceDB DSL
# spicedb
w
Hey, is there by any chance a SpiceDB DSL parsing/DOM library?
I'm looking to write a tool automate some in-house patterns for adding to SpiceDB schema files, and it'd help a lot if it could understand what's already there to support operations like add definition/relation/permission -where not present- - is there a DOM library or something like that, maybe something that could be lifted from the SpiceDB/Zed code itself, that could help do that? Thanks!
j
there is one in SpiceDB, yes
has parser, compiler and generator
the type system was also recently moved into
pkg
as well
so you can use that to compute type info
w
Awesome, thanks!
2 Views