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

Support for list comprehension expressions #195

Closed
dikmax opened this issue Jan 23, 2020 · 1 comment
Closed

Support for list comprehension expressions #195

dikmax opened this issue Jan 23, 2020 · 1 comment

Comments

@dikmax
Copy link

dikmax commented Jan 23, 2020

Examples.

with filter: [$a + 1 for $a in $myList if $a >= 3]
without filter: [$a + 1 for $a in $myList]

More complex example:

{let $featureValue: [record(id: $value.id, label: $value.label)
      for $value in $object.labelList if isNonnull($value.label)] /}
@crdev
Copy link
Collaborator

crdev commented Jan 23, 2020

Fixed in #192

@crdev crdev closed this as completed Aug 25, 2020
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

2 participants