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

feat/array of tables support #10

Merged
merged 26 commits into from
Jan 3, 2025
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
67e8a15
Format
blast-hardcheese Jan 2, 2025
109d064
Making "dotted_path" optional
blast-hardcheese Jan 2, 2025
d62b26e
Reflowing path down
blast-hardcheese Jan 2, 2025
6d55be2
Use structured discrimination
blast-hardcheese Jan 2, 2025
d3cead6
Turns out we do not need most of these parameters
blast-hardcheese Jan 2, 2025
ca91295
Using "AddOp" (nee: Op) directly, instead of destructuring
blast-hardcheese Jan 2, 2025
3873763
Inline
blast-hardcheese Jan 2, 2025
f5a2a84
Unify path and dotted_path
blast-hardcheese Jan 3, 2025
4e04ae2
Permitting add "path" to be optional
blast-hardcheese Jan 3, 2025
f713d77
Reflowing to use idiomatic ? macro instead of map chains
blast-hardcheese Jan 3, 2025
c72d4ce
Introducing magical syntax for adding arrays of tables
blast-hardcheese Jan 3, 2025
3812e1c
If we do not have a path and are given an inline table, set that valu…
blast-hardcheese Jan 3, 2025
1807d82
Permit appending to arrays of tables
blast-hardcheese Jan 3, 2025
d082a32
Adding expect-test to dev deps
blast-hardcheese Jan 3, 2025
cae5fa2
Inline nearly useless function
blast-hardcheese Jan 3, 2025
2e9fcb0
Generalizing table_header_adder tests
blast-hardcheese Jan 3, 2025
c1c646e
Permit optional path parameters in add_test
blast-hardcheese Jan 3, 2025
7353265
Permitting writing array-of-tables tests
blast-hardcheese Jan 3, 2025
593c6db
Adding a broken test
blast-hardcheese Jan 3, 2025
01add46
Fixing the broken test
blast-hardcheese Jan 3, 2025
6d94368
Adding an "append" test for arrays of tables
blast-hardcheese Jan 3, 2025
4e04e4a
Adding "array literal" test
blast-hardcheese Jan 3, 2025
a585cfa
Address goofiness
blast-hardcheese Jan 3, 2025
78ea0c9
Parameterizing add_test
blast-hardcheese Jan 3, 2025
52f0b14
Moving table_header_adder tests over to root adder module
blast-hardcheese Jan 3, 2025
9fc4d6f
Return error instead of panicking
blast-hardcheese Jan 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ serde_json = { version = "1.0", features = ["preserve_order"] }
serde = { version = "1.0", features = ["derive"] }
clap = { version = "4.5.4", features = ["derive"] }
anyhow = "1.0.58"

[dev-dependencies]
expect-test = "1.5.1"
Loading
Loading