Open dschulten opened 3 years ago
I have your test case working. I needed to add a test for the referenced variable binding and to get the object associated with the variable name for this to work.
I've added a test named TestBindingReference to the set of tests used when building the jar files so we'll continue to test your example against future updated.
I'm releasing 1.5.2 (#145) today so in a few hours you should be able to pull this version from Maven Central at https://mvnrepository.com/artifact/com.ibm.jsonata4java/JSONata4Java
Please close this issue if you believe it has been fixed.
When I contextualize object construction, nothing will be constructed.
By "contextualize construction" I mean instead of:
I want to remove duplication by pulling nested and $nested in front of the object constructor.
This should also allow me to filter for a certain item and then work inside its context, see https://try.jsonata.org/PCo2yBJJg. That way I want to factor out filter criteria for numerous entries.
Result:
{}
Expected according to https://try.jsonata.org/Vb34AQ8j4: