<@!171010552020074497> really depends on your appl...
# spicedb
j
@User really depends on your application design: https://authzed.com/blog/writing-relationships-to-spicedb/
b
Sorry, I might have been mistaken there. For storing the schema is what im looking for how to do
and for performing any updates to the schema (such as adding new relationships) in the future
j
you mean adding new `relation`'s?
b
and definitions etc yes
j
or relationships (the data itself)?
ah
WriteSchema call
b
I've been given a
schema.zed
file from my backend dev that's been working with it
j
yeah, just call WriteSchema with the contents
b
The full contents of the file?
j
yes
b
Or just changes (ie. is it idempotent)
j
whole contents
it overwrites entirely
schema is just the structure
b
Oh nice
Thanks
j
if you want to test it, you can use the zed CLI tool to write from the file directly