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

fix(yamlmerger): Update RecursiveMerge to support ScalarNode kind #1188

Open
wants to merge 1 commit into
base: staging
Choose a base branch
from

Conversation

MdSahil-oss
Copy link
Contributor

Prerequisite checklist

  • Read the contribution guidelines regarding submitting new changes to the project;
  • Tested your changes against relevant architectures and platforms;
  • Ran make fmt on your commit series before opening this PR;
  • Updated relevant documentation.

Description of changes

updates RecursiveMerge() for ScalarNode kind.

Currently on adding diffrent version of a pre-existing library in the project directory using cmd kraft lib add lib_name:version Kraftfile doesn't get updated for the new version as expected.

But after merging this PR, Kraftkit will be able to update the project kraftfile for the new version of the already existing library.

@nderjung nderjung changed the title fix: updates RecursiveMerge() for ScalarNode kind fix(yamlmerger): updates RecursiveMerge() for ScalarNode kind Jan 24, 2024
@nderjung nderjung changed the title fix(yamlmerger): updates RecursiveMerge() for ScalarNode kind fix(yamlmerger): Update RecursiveMerge to support ScalarNode kind Jan 24, 2024
@nderjung
Copy link
Member

cc'ing @craciunoiuc who originally disabled this

@craciunoiuc
Copy link
Member

I have no memory of this

What I can guarantee is that it did fix something, so careful

@craciunoiuc
Copy link
Member

craciunoiuc commented Jul 5, 2024

@LucaSeri I will assign you to further investigate this PR

The change makes sense, but I can't remember if it breaks something

It was something related to the writing of the yaml on updates

(note: remember to try this on latest staging)

@craciunoiuc craciunoiuc requested a review from LucaSeri July 5, 2024 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🧊 Icebox
Development

Successfully merging this pull request may close these issues.

3 participants