Dmitry Panov
|
1444e6b945
Refactored conversion to primitive. Always use `String()` method if defined. Closes #423.
|
3 years ago |
Dmitry Panov
|
b1618db072
Implemented 'copy-on-change' mechanism for inner compound values. Fixes #403.
|
3 years ago |
Dmitry Panov
|
dd567e70ae
Added support for go arrays (both to ToValue and ExportTo). Nom-addressable structs and arrays are copied in ToValue() so they remain writable in ES. Subsequent Export() returns the value including any changes made.
|
3 years ago |