metafacture / metafacture-fix

Work in progress towards an implementation of the Fix language for Metafacture
Apache License 2.0
6 stars 2 forks source link

`move_field` same name from string to object #104

Open TobiasNx opened 2 years ago

TobiasNx commented 2 years ago

See here

If we use move_field on a field to give it a hirachie and move the valure in a not existing subfield you recive an error.

move_field(license, license.id)

TobiasNx commented 2 years ago

Added a test scenario for this: https://github.com/TobiasNx/fix-FunctionalReview-Testing/commit/a2652d3853f226e265cf516be6f0564af73d4ad2

Breaks. should be:

{
    "fictional": {
        "animal": "unicorn"
    }
}
fsteeg commented 2 years ago

Functional review: @TobiasNx Code review: @blackwinter

TobiasNx commented 2 years ago

Has integration test: https://github.com/metafacture/metafacture-fix/commit/43f36edb3dd980b578518df7fd441ec32ea7c26e

blackwinter commented 11 months ago

Integration test: