-
Notifications
You must be signed in to change notification settings - Fork 616
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
Use enum instead of interface for state #5372
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good but did not test.
@szaimen I'd say we are good to go if you are fine with the naming:
IContainerState
was refactored to enums WorkingState
and VersionState
I didn't test to. Workflow pass and @szaimen you have better test instance than me 😅 |
I split them in two, because it didn't make sense for the version and work status to be the same interface... |
Signed-off-by: Jean-Yves <[email protected]>
Signed-off-by: Jean-Yves <[email protected]>
Co-authored-by: Simon L. <[email protected]> Signed-off-by: Jean-Yves <[email protected]>
Done, #5307 will be ready to |
I use VersionState instade of bool