Skip to content
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

idl: Add #[non_exhaustive] to IDL enums #2890

Merged

Conversation

acheroncrypto
Copy link
Collaborator

Problem

Some of the IDL enums can be extended in the future, however, extending them would be a breaking change.

Summary of changes

Add #[non_exhaustive] attribute to the IdlSerialization, IdlRepr and IdlType enum in order to be able to add new variants without causing a breaking change.

`IdlSerialization`, `IdlRepr` and `IdlType` enums can be extended in the future without breaking changes
Copy link

vercel bot commented Apr 4, 2024

@acheroncrypto is attempting to deploy a commit to the coral-xyz Team on Vercel.

A member of the Team first needs to authorize it.

@acheroncrypto acheroncrypto added idl related to the IDL, either program or client side breaking labels Apr 4, 2024
@acheroncrypto acheroncrypto merged commit 5f6af05 into coral-xyz:master Apr 4, 2024
47 of 48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking idl related to the IDL, either program or client side
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant