prefixes
# spicedb
b
@yetitwo Something like:
Copy code
namespace blogapp
definition user {}
...
would be equivalent to
Copy code
definition blogapp/user {}
...
e
if you only need to do this on write, you can use
zed schema write
with the
--schema-definition-prefix
flag, which will add the prefix to all definitions before writing the schema
b
cool handy!
y
oh wait that's interesting. does that mean that
WriteSchema
has semantics closer to
PATCH
than to
PUT
? in the sense that you can write a partial schema?
e
no, it's still the entire schema, but it will prepend a prefix for you
it's mostly for the serverless offering at authzed.com, where you're forced to have a prefix on your types
(a limitation that will eventually go away)