-
Notifications
You must be signed in to change notification settings - Fork 65
refactor: template steps #813
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
base: develop
Are you sure you want to change the base?
Conversation
bercianor
left a comment
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 to me
| private Object configuration; | ||
| private Object apply; | ||
| private Object rollback; | ||
| private Object steps; |
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.
Cannot make this at least a generic list List? Ideally a List<TemplateStep>
| if (!(stepsData instanceof List)) { | ||
| logger.warn("Steps data is not a List, ignoring"); | ||
| return result; | ||
| } |
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.
We shouldn't ignore the list as it's mandatory, right?
dieppa
left a comment
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.
Still haven't reflected the list in the builders.
Also we are treating like optional, when it's mandatory
refactor: template steps