mirror of
https://github.com/corn-config/corn.git
synced 2026-07-11 06:16:07 +01:00
[PR #15] [MERGED] feat: spread operator #25
Labels
No labels
bug
bug
documentation
enhancement
enhancement
pull-request
tooling
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
corn-config/corn#25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/corn-config/corn/pull/15
Author: @JakeStanger
Created: 5/23/2023
Status: ✅ Merged
Merged: 5/24/2023
Merged by: @JakeStanger
Base:
master← Head:feat/spread-operator📝 Commits (1)
48304d4feat: spread operator📊 Changes
10 files changed (+142 additions, -15 deletions)
View changed files
📝
Cargo.lock(+1 -1)📝
README.md(+45 -1)➕
assets/inputs/invalid_spread.corn(+5 -0)➕
assets/inputs/spread.corn(+10 -0)➕
assets/outputs/json/spread.json(+10 -0)➕
assets/outputs/toml/spread.toml(+9 -0)➕
assets/outputs/yaml/spread.yml(+8 -0)📝
libcorn/src/grammar.pest(+24 -8)📝
libcorn/src/parser.rs(+28 -4)📝
libcorn/tests/parser_tests.rs(+2 -1)📄 Description
Adds a new spread operator, allowing you to merge objects/arrays using
..$inputinside objects or arrays.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.