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

Implement "<<" merge key #8

Merged
merged 4 commits into from
Oct 18, 2022
Merged

Implement "<<" merge key #8

merged 4 commits into from
Oct 18, 2022

Conversation

thekid
Copy link
Member

@thekid thekid commented Oct 18, 2022

Real-life example from here:

development: &default
  adapter: postgresql
  encoding: unicode
  username: postgres
  host: db
  pool: 20
  database: app_development

test:
  <<: *default
  database: app_test

See https://ktomk.github.io/writing/yaml-anchor-alias-and-merge-key.html

@thekid thekid merged commit 1df7051 into master Oct 18, 2022
@thekid thekid deleted the feature/inheritance branch October 18, 2022 19:40
thekid added a commit that referenced this pull request Oct 18, 2022
@thekid
Copy link
Member Author

thekid commented Oct 18, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant