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

Add appsTemplates omitempty YAML key to allow YAML anchors in state file #302

Merged
merged 2 commits into from
Oct 17, 2019
Merged

Add appsTemplates omitempty YAML key to allow YAML anchors in state file #302

merged 2 commits into from
Oct 17, 2019

Conversation

mkubaczyk
Copy link
Collaborator

The feature request #300 with ignored keys in YAML state file, where such keys can be used as YAML anchors to follow DRY rule is really valuable, so I thought of the simplest way to do this. Hence the PR I created with the least change I could do to achieve that.

@mkjmdski
Copy link

mkjmdski commented Oct 1, 2019

thanks!

@mkubaczyk
Copy link
Collaborator Author

@sami-alajrami @luisdavim how you guys find it?

@luisdavim
Copy link
Collaborator

have you tested it? as long as this doesn't break the toml DSF I'm fine with it.

@mkubaczyk
Copy link
Collaborator Author

@luisdavim yes, it's working fine with yamls while at the same time not impacting tomls at all. Should I merge then?

Copy link
Collaborator

@luisdavim luisdavim left a comment

Choose a reason for hiding this comment

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

LGTM

@mkubaczyk mkubaczyk merged commit ed4c9fe into Praqma:master Oct 17, 2019
@mkubaczyk mkubaczyk deleted the ignored_yaml_anchor_state_file branch October 17, 2019 09:05
mkubaczyk added a commit that referenced this pull request Aug 18, 2023
Add appsTemplates omitempty YAML key to allow YAML anchors in state file
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.

3 participants