SpiceDB Feature Highlight: Transaction M...
# spicedb
p
👋 Hello folks! I was reading through https://authzed.com/blog/feature-highlight-transaction-metadata and it's a very interesting feature. I notice, though, that only watc api is mentioned. Is it possible to retrieve transaction metadata elsewhere? For example, is it possible too get it on readrelationships? (I don't see references to it in https://buf.build/authzed/api/docs/main:authzed.api.v1#authzed.api.v1.ReadRelationshipsResponse, so I'm guessing not). Are there plans to add it there?
v
Hey @pepegar , no, there is no want to retrieve Transaction Metadata right now other than through the Watch API, feel free to open feature request
p
Thanks @vroldanbet
j
As its name implies, the transaction metadata is attached to the transaction, not to the underlying relationship
so it wouldn't really work to retrieve it on a per-relationship basis
it would likely have to be a distinct set of metadata
p
I see, thx! The plan I had was to model somehow relationship metadata that could be retrieved later. Thingx like created_at, updated_at, some ids for correlation, etc.
v
what's the use-case?
4 Views