Replies: 1 comment 1 reply
-
Env can be only a |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was struggling to create expressions for slices. I tried to write a bunch of expressions but couldn't able to end with a success compilation. What I want to do is:
env
is an[]
Name: E
is existed in slice (any)Active: true
(skip if it does not exist)But I couldn't able to match
E
against a givenName
field:any(#, {Name matches 'E'})
(tried both of.
and#
, fails withcannot use pointer accessor outside closure
). Also triedName in ['E']
but fails:invalid operation: int(string)
.Here is an example snippet:
Can you please help me on this? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions