Hi all, in my code i have something like this:
let map = new Map();
...code to fill the map...
this.$session.$data.next1 = map;
While testing i see that this.$session.$data :{"next1":{}}
, so it’s empty.
Do i need to pass it as a JSON string using JSON.stringify()
and doing what is explained here https://stackoverflow.com/questions/29085197/how-do-you-json-stringify-an-es6-map ??
Or is there some workarounds?