Skip to content

Validate uniqueness before doing the transform #541

Open
@chinyeungli

Description

There are cases that a renamed field is already in the input that is causing issue. For instance,

field_renamings:
        license_expression : 'Concluded License Expression'

If the input already the license_expression field (but it's an empty field), the Concluded License Expression was renamed to license_expression and then this license_expression field got replaced with the original empty license_expression field and therefore the output will contains the orignal empty's license_expression field instead of the value from the renamed Concluded License Expression.

The tool should alret user for the issue and ask user to fix it before doing the transform process

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions