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

Feature: some way of getting properties of properties like @alias("primary.nested") or something #23

Open
mxndtaylor opened this issue Jun 8, 2024 · 0 comments
Assignees

Comments

@mxndtaylor
Copy link
Owner

mxndtaylor commented Jun 8, 2024

Is your feature request related to a problem? Please describe.
aliasing currently is only grabbing values "flatly" in the sense that it only gets properties of the immediate class it's attached to.

Describe the solution you'd like
a descriptor that repeats the de-aliasing process on it's result based on a series of terms.
some like accepting varargs like *props: str or a path variable with delimiters like "prop.prop"

Describe alternatives you've considered
jsonpath_ng or jq do similar things, but they involve more processing, I just want something extremely simple and straightforward.

@mxndtaylor mxndtaylor self-assigned this Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant