镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

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

Open

Description

@ChrisRus

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.

Activity

  1. added
    documentationImprovements or additions to documentation
    enhancementNew feature or request
    testRelated to test coverage
    on Dec 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or requesttestRelated to test coverage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions