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

Allow select expressions with multiple tokens after a tree selector #457

Open
SanderMertens opened this issue Feb 27, 2016 · 0 comments
Open

Comments

@SanderMertens
Copy link
Member

Currently in the select, the tree operator // will allow a user to select a subtree of an object recursively. A user can for example request all objects under corto using the following expression: corto//*.

Not all usecases are covered yet. A tree operator that is followed by a more complex expression like foo//bar/* will not work. This is because the select first evaluates the entire expression, and then selects either a scope or tree based on the last selector token (/ or //).

The select has to be modified so that when it encounters a //, it will immediately walk a tree, and execute the remainder of the expression for every returned object of the tree walk.

@SanderMertens SanderMertens added this to the alpha 0.3.0 milestone Feb 27, 2016
@SanderMertens SanderMertens removed this from the alpha 0.3.0 milestone Feb 11, 2017
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