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
Allow paths to be excluded from transformation #23
Comments
Sounds like a valid use-case. PR welcome. |
Great. That's what I needed to know. |
I was thinking about this question of whether the specified path itself should be excluded, or whether it just excludes its children. That got me thinking that perhaps the right name for the option is "stopPaths" instead of "excludePaths". (And, of course, this is related to the deep option). I'm open to suggestions, and that can be tuned once we're looking at some code. |
@IssueHunt has funded $60.00 to this issue.
|
@sindresorhus has rewarded $54.00 to @stroncium. See it on IssueHunt
|
Allow certain paths to be excluded from transformation (
excludePaths
). This is necessary when certain subpaths of the structure hold pure data that are not part of the model. For example, one of the keys might hold key-value pair data, but that key-value pair data cannot be corrupted.I'm imagining something like:
It would be the data inside this path, not the path itself, that would be excluded.
IssueHunt Summary
stroncium has been rewarded.
Backers (Total: $60.00)
Submitted pull Requests
Tips
IssueHunt has been backed by the following sponsors. Become a sponsor
The text was updated successfully, but these errors were encountered: