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

Recursive object merge #130

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

kklingenberg
Copy link
Contributor

This PR implements * for objects, according to the spec here: https://jqlang.github.io/jq/manual/#multiplication-division-modulo

@01mf02 01mf02 merged commit 7c81ed6 into 01mf02:main Jan 9, 2024
1 check passed
@01mf02
Copy link
Owner

01mf02 commented Jan 9, 2024

That looks very nice; thanks a lot!

@01mf02
Copy link
Owner

01mf02 commented Jan 9, 2024

I improved your implementation in f24da82 by removing some clone() and by making it clear that recursive object merging never fails.

@kklingenberg kklingenberg deleted the feature/recursive-object-merge branch February 17, 2024 15:58
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.

2 participants