Skip to content

Conversation

@davidfrigolet
Copy link
Contributor

refactor: template steps

Copy link
Contributor

@bercianor bercianor left a 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;
Copy link
Member

@dieppa dieppa Jan 29, 2026

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>

Comment on lines +147 to +150
if (!(stepsData instanceof List)) {
logger.warn("Steps data is not a List, ignoring");
return result;
}
Copy link
Member

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?

Copy link
Member

@dieppa dieppa left a 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

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.

4 participants