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

Would be nice to have a deepmerge data source that works with objects, not yaml/json strings #462

Open
mm-chia opened this issue Jan 16, 2025 · 0 comments

Comments

@mm-chia
Copy link

mm-chia commented Jan 16, 2025

Describe the Feature

This would be a generic deepmerge data source, which works with objects as inputs.
Thus, it could be used for merging either yaml or json, (by applying yamldecode/jsondecode to the files, before passing them as inputs to this data source).
Furthermore, it would be more flexible data source (essentially, rendering the other two data sources obsolete).
Using this new data source, one can have more flexibility - merge objects coming from different places / different files, etc.

Expected Behavior

Missing feature

Use Case

Allows more flexibility over inputs used for deep merge.

Describe Ideal Solution

A generic deep merge data source which works with objects as inputs, not json/yaml strings.

Alternatives Considered

No response

Additional Context

Currently using isometry/deepmerge because of flexibility but would like to switch to cloudposse/utils

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

No branches or pull requests

1 participant