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

arccore.filter should allow caller to specify a base RIS path #7

Open
ChrisRus opened this issue Dec 20, 2021 · 0 comments
Open

arccore.filter should allow caller to specify a base RIS path #7

ChrisRus opened this issue Dec 20, 2021 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request test Related to test coverage

Comments

@ChrisRus
Copy link
Member

Oftentimes we leverage arccore.filter to validate/normalize some branch of a larger data structure.

For example, we may have a large deserialized JSON document and need to process just a single branch of the whole with a filter.

In cases such as this it would be nice to be able to call the filter passing in a reference to the root of the branch in the data as the filter request in-param AND also the path in the larger document that was dereferenced to obtain obtain the reference.

We would do this so that an error in the filter would get reported with the path of the data in the larger document and not as ~.blah.blah where ~ corresponds to the filter request in-param itself.

This is very confusing to developers especially when the use of the filter that returns the error is buried deep inside some large mechanism.

@ChrisRus ChrisRus added documentation Improvements or additions to documentation enhancement New feature or request test Related to test coverage labels Dec 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request test Related to test coverage
Projects
None yet
Development

No branches or pull requests

1 participant