passing down maps in a flow
Is passing down objects in typescript like Map<string,number> supported in flows? Because I can print it in my script but when I pass it downwards in a flow, it's complaining about undefined
6 Replies
only if maps are serializable in json, otherwise transform them first as an object
good to know, thank you
is there a list of supported/unsupported data structures somewhere in the docs perhaps?
or just like anything you can serialize in json is supported and the rest isnt supported?
latter is correct
oki
for typescript we use JSON.stringify
yeah I had to use Object.fromEntries on top of that
that did the trick, thanks mr ruben, you're really helpful :D