-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #308 from metafacture/116-destructiveAddField
Change `add_field()` Fix function to destructive behaviour for Catmandu compatibility.
- Loading branch information
Showing
8 changed files
with
61 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
metafix/src/test/resources/org/metafacture/metafix/fixes/include.fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
unless exists("trace") | ||
set_array("trace") | ||
end | ||
add_field("trace", "before include") | ||
add_field("trace.$append", "before include") | ||
include("./base.fix") | ||
add_field("trace", "after include") | ||
add_field("trace.$append", "after include") |
4 changes: 2 additions & 2 deletions
4
metafix/src/test/resources/org/metafacture/metafix/fixes/nested.fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
set_array("trace") | ||
add_field("trace", "before nested") | ||
add_field("trace.$append", "before nested") | ||
include("src/test/resources/org/metafacture/metafix/fixes/include.fix") | ||
add_field("trace", "after nested") | ||
add_field("trace.$append", "after nested") |
1 change: 0 additions & 1 deletion
1
...etafacture/metafix/integration/record/fromJson/toJson/add_fieldSimpleDestructive/todo.txt
This file was deleted.
Oops, something went wrong.