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

print transformed data #3

Closed
ssube opened this issue Jun 16, 2019 · 1 comment
Closed

print transformed data #3

ssube opened this issue Jun 16, 2019 · 1 comment
Assignees
Labels
status/fixed issues that have been fixed and confirmed type/feature

Comments

@ssube
Copy link
Owner

ssube commented Jun 16, 2019

Ajv supports modifying data during validation, including:

These will form the basis of --mode=fix.

Since rules use selectors and schemas are run against selected nodes, if jsonpath-plus makes a copy of the data while selecting, then the nodes will need to be replaced in the original data.

@ssube ssube self-assigned this Jun 16, 2019
@ssube ssube added status/planned issues that have been planned but not started type/feature status/progress issues that are in progress and removed status/planned issues that have been planned but not started labels Jun 16, 2019
@ssube
Copy link
Owner Author

ssube commented Jun 17, 2019

--mode=fix works as of 721f85f but does not print a diff of the source and output data.

@ssube ssube closed this as completed in 6f15d1c Jun 22, 2019
@ssube ssube added status/fixed issues that have been fixed and confirmed and removed status/progress issues that are in progress labels Jun 22, 2019
@ssube ssube mentioned this issue Jun 22, 2019
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/fixed issues that have been fixed and confirmed type/feature
Projects
None yet
Development

No branches or pull requests

1 participant