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

nrfs: Added explicit enum values #277

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Rafal-Nordic
Copy link
Collaborator

Added explicit enum values for better resistance to change

Added explicit enum values for better resistance to change

Signed-off-by: Rafal Dyla <[email protected]>
@karstenkoenig
Copy link

karstenkoenig commented Feb 20, 2025

There still is a lot missing in the other ones

I think assigning fixed enums everywhere will greatly reduce the chance of accidental breakage, when enums are hardcoded people tend to make sure to not insert in the middle or reorder, when they are not it seems the order doesn't matter and one needs to be very careful during reviews to catch enums changing sequence that need to have compatibility kept in mind

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.

2 participants