-
Hi! I'm currently working on a project that would like to use this as the primary language to build filters for it's frontend. At the moment, we're hoping to allow users to write queries like As we don't control the layout/go type of the data we're passing into Looking forwards, this could also be a good place to look into support for the changes proposed in golang/go#61898. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes, it is possible to implement next expression, even if
To do it you can create a patcher which will be wrapping Nodes inside filter into a helper function. The helper function will transform Nodes to an array. After the patcher resulting code should look like this:
|
Beta Was this translation helpful? Give feedback.
Yes, it is possible to implement next expression, even if
Nodes
is not an array.To do it you can create a patcher which will be wrapping Nodes inside filter into a helper function. The helper function will transform Nodes to an array.
After the patcher resulting code should look like this: