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

string as a lookup variable? #262

Closed
StephenOTT opened this issue Jan 24, 2021 · 1 comment
Closed

string as a lookup variable? #262

StephenOTT opened this issue Jan 24, 2021 · 1 comment
Assignees

Comments

@StephenOTT
Copy link
Contributor

StephenOTT commented Jan 24, 2021

Currently when doing lookups in aggregations, there is the .variableDefinition() and .variable

The variable definition supports a custom name argument (especially useful when doing lookups on nested props). But it seems you cannot set a custom name on the variable. And I cannot seem to create a variable from a String. Which requires manual creation such as "\$\$myVar"

Thoughts on allowing "myVar".variable which will prefix the $$ just as it does for a KProperty path ?

thanks

@zigzago
Copy link
Member

zigzago commented Jan 28, 2021

Nice idea. I'm going to add it.

@zigzago zigzago self-assigned this Jan 28, 2021
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

2 participants