Update module github.com/openfga/go-sdk to v0.6.0 - autoclosed #21
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.5.0
->v0.6.0
Release Notes
openfga/go-sdk (github.com/openfga/go-sdk)
v0.6.0
Compare Source
0.6.0 (2024-08-29)
BREAKING CHANGE:
When the generator converts enums in the open API definition, by default it removes the type prefix. For example,
TYPE_NAME_UNSPECIFIED
is converted to a const namedUNSPECIFIED
. This leads to potential collisions with other enums, and as the consistency type is a new enum, we finally got a collision (was just a matter of time).The fix for this is to specify
"enumClassPrefix": true
in the generation config. This will then include the class name on the const name, which resoles collision issues. This means any enum value, such asINT
now becomesTYPENAME_INT
. The main impact of this is theTypeName
consts and error codes. The fix is to add the class name prefix as discussed above.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.