Skip to content

Conversation

ndeloof
Copy link
Collaborator

@ndeloof ndeloof commented Apr 19, 2023

This comes after dockerfile_inlinefiasco 😰
Configure mapstructure to use yaml annotations so we don't have to marshaller configuration
scale is a corner-case as default value "1" won't be ignored by omitempty, so use a custom MarshalYAML|JSON func as a workaround

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
@ndeloof ndeloof force-pushed the marshall_annotations branch from 1d61e36 to b324f3a Compare April 19, 2023 16:49
Copy link
Member

@laurazard laurazard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Such a QOL improvement 🥳

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