Skip to content

fix: revert assertions tuple key order change - #123

Merged
jpadilla merged 1 commit into
mainfrom
assertions-tuple-key
Dec 7, 2023
Merged

fix: revert assertions tuple key order change#123
jpadilla merged 1 commit into
mainfrom
assertions-tuple-key

Conversation

@jpadilla

@jpadilla jpadilla commented Dec 7, 2023

Copy link
Copy Markdown
Member

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 #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

  • I have clicked on "allow edits by maintainers".
  • I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
  • The correct base branch is being used, if not main
  • I have added tests to validate that the change in functionality is working as expected

@jpadilla
jpadilla requested a review from a team as a code owner December 7, 2023 19:34
@jpadilla
jpadilla merged commit ed3d38b into main Dec 7, 2023
@jpadilla
jpadilla deleted the assertions-tuple-key branch December 7, 2023 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants