openfga / api

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

fix: revert assertions tuple key order change #123

Closed jpadilla closed 11 months ago

jpadilla commented 11 months ago

Description

Introduce AssertionTupleKey to maintain the order of object, relation, user fields. Assertions are currently stored as marshalled in all existing storage implementations.

Re-order introduced in https://github.com/openfga/api/pull/97.

It's expected for review/build workflow to fail:

Error: Field "1" on message "Assertion" changed type from "openfga.v1.CheckRequestTupleKey" to "openfga.v1.AssertionTupleKey".
Error: buf found 1 breaking changes.

References

Review Checklist