Consistency option for Watch
# spicedb
t
Are there any plans on adding a consistency option to
Watch
? And if not, should I just do a uesless request to fetch a 'latest' ZedToken? I'm writing a few integration tests against in-memory SpiceDb and running into the issue that watches are capturing results from before they were started
I'm currently working around it by doing an empty fully consistent CheckBulkPermissions, which is slightly ugly but so far functional
y
> watches are capturing results from before they were started that may be specific to the memory implementation; i'd try running it against a real datastore. we have some example docker compose files for cockroach and postgres in the [examples repo](https://github.com/authzed/examples/tree/main/datastores) otherwise, yeah, making a
Check
or
ReadSchema
call with
fully_consistent
is how you'd get the "current" revision
7 Views