Hello folks 👋
I'm facing an strange behaviour in SpiceDB. I've SpiceDB 1.31.0 running,a nd when querying a lookupSubjects with a limit:
1. the limit is ignored
2. it never returns a cursor that I can use to paginate.
In my case, spicedb contains 10 records that would match the query, and when I pass a limit 5, it returns all 10 of them without a cursor instead of returning 5 and a cursor to keep going. Is it expected behaviour? I'm not seeing that with lookupResources for example
Thx so much!
(Investigating more, it seems that zed cli doesn't document --page-limit for lookup-subjects, but it does for lookup-resources; on top of that, on the protobuf docs, both seem to accept the optional_concrete_limit param
https://buf.build/authzed/api/docs/main:authzed.api.v1#authzed.api.v1.LookupSubjectsRequest)