-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breaking Change in Proto Field Ordering #126
Comments
@alee792 releases As part of this development we had to make some changes to the protobuf API to better model the changes we introduced to support a new feature we call Conditional Relationship Tuples. One of the most notable changes we made that had an impact pervasively throughout the whole protobuf API was the changes to We had intended to include these details about client compatibility in the We will soon be releasing some official documentation on the new Conditional Relationship Tuples feature and as part of that documentation we will have a more detailed overview of the impact of upgrades from Our guidance/advise at this time would be either a) stay on |
I appreciate the prompt response! Breaking changes with gRPC are severe, but common, and I completely understand the desire to re-align your API. As long as we are given appropriate notification of breaking changes, we can do our best to accommodate, but were left a bit blind sided by this one. Once a server has been upgraded to |
Do we already have this?
Since the newer protobuf definitions are not compatible with OpenFGA v1.3.7, it'd be unfeasible to upgrade without causing a downtime. Any hints? |
@wilerson the upgrade from Would the HTTP route work for your use case? |
It'd be quite cumbersome, as we've setup a good chunk of our infrastructure around OpenFGA to use gRPC, and would need to rewrite a few wrappers around the client to use the HTTP API. |
This proto field re-ordering breaks compatibility. The user and object fields get swapped, and tuple checks are just entirely misinterpreted:
5daf658#diff-2a88655b667aad16ec564eded7b5739e88e7d8b9da8a5231008519c3d3b80bb9L28
PR here: #97
It looks like assertions were similarly affected and that change was reverted. Was there some kind of safe, backwards compatible migration that I missed? I would have assumed more people would be affected by this breaking change.
The text was updated successfully, but these errors were encountered: