Skip to content

Conversation

@kommendorkapten
Copy link
Member

Summary

Use an alternative and updated method to mark oneof fields as REQUIRED.

Closes: #336

Release Note

  • Updated how oneof fields are marked as REQUIRED in the protobuf

Documentation

N/A

Copy link
Collaborator

@haydentherapper haydentherapper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great find for the fix. Do we need to test this with all language clients?

@haydentherapper
Copy link
Collaborator

Dismissing my review, seems like this isn't WAI according to sigstore/sigstore-go#63 (comment)

@kommendorkapten
Copy link
Member Author

@haydentherapper yes, I did see in the other PR that this was fully WAI, I haven't had time to dig into this. My fear is that relying on annotations for verifying field behaviour may differ between clients :(

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.

How to represent REQUIRED on oneof fields.

2 participants