Flow context property

it wold be nice to access flow context variable properties directly

var bar = flow.get("foo.bar");
or
var bar = flow.get("foo/bar");

Can you explain why doesn't flow.get("foo").bar work for you?

because it creates another copy of the entire object and if it is a big object that could eat cpu time and ram

Which object? flow.get() does not clone the object it just returns a reference to it.

It would be nice. Have you tried it?

3 Likes

wow! it actually works!!
I apologize almighty @knolleary
somehow my first test failed