Commit Graph
2 Commits
Author SHA1 Message Date
hantian_pang a80e2655fe Fix marshal expr.Type into empty object bug
When using to_json(...) marshal expr.Type into string will get empty
object {} if this Type doesn't implement marshal method. So UntypedValue
obj before json.Marshal if this obj isn't json.Marshaler.
2022-10-24 08:10:18 +02:00
Vivek Patel 044d02bb76 Adds expr functions for KV, KVV, Vars manipulation
- Adds/Refactors methods for Set, Merge, Filter, Delete
- Renames expr/Vars.Merge to MustMerge, updates its usage
- Appends kvFunctions to parser in pkg/expr
- Update/Fixes tests and example testable
2021-05-21 06:58:52 +02:00