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

Add support for partial Structure name querying using JSONPath-like syntax #127

Open
SlavaVedernikov opened this issue Oct 7, 2024 · 0 comments

Comments

@SlavaVedernikov
Copy link
Owner

SlavaVedernikov commented Oct 7, 2024

Context

At the moment it is possible to query structures (e.g. Interfaces) in a few ways:

  1. Full structure Alias, which will select a single structure e.g. Interface
    ECommercePlatform.Deliver.FraudManagement.SoftwareSystems.FraudService.Containers.Api.Interfaces.GetHighRiskOrders

  2. Alias pattern with * wildcards, which may select multiple structures
    ECommercePlatform.Deliver.FraudManagement.SoftwareSystems.FraudService.Containers.Api.Interfaces.*
    ECommercePlatform.Deliver.FraudManagement.SoftwareSystems.FraudService.Containers.*.Interfaces.*
    ECommercePlatform.Deliver.FraudManagement.SoftwareSystems.*.Containers.*.Interfaces.*

  3. Alias patterns with .. - recursive descent search
    ..SoftwareSystems.FraudService.Containers.*.Interfaces.* ..SoftwareSystems..Containers..Interfaces.*`

It is not possible however to query any structures by their partial names e.g. all Interfaces that begin with Get

Requirements

Extend JSONPath structure querying mechanism so that it would be possible to select structures by their partial names e.g.

..SoftwareSystems.FraudService.Containers.*.Interfaces.Get*
..SoftwareSystems.*Service.Containers.*.Interfaces.Get*
..SoftwareSystems.*Service.Containers.*.Interfaces.Create|Update|Delete*

TBC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant