Hey guys!
Has anyone implemented GraphQL with SpiceDB and encountered latency issues with nested entities?
I'm using SpiceDB with a GraphQL API in TypeScript, and I’ve noticed that as the depth of nested entities increases, the number of sequential permission checks also increases, adding noticeable latency.
Right now, each entity's resolver calls CheckPermission, meaning deeper structures cause multiple sequential calls
Has anyone run into this issue when integrating GraphQL with SpiceDB? I don't know if I'm missing something or if there is a best practice for handling this at scale