openfga / api

Protocol Buffers used by OpenFGA
Apache License 2.0
19 stars 14 forks source link

refactor(write): normalize `deletes` field to TupleKeyWithoutCondition #116

Closed jon-whit closed 11 months ago

jon-whit commented 11 months ago

Description

Since we only allow a single tuple to be written of the base PK (object, relation, user), the deletes field makes more sense to be normalized to an array of tuples without a condition. The optional condition has no usage for the deletions.

References

Review Checklist