obj.getKeys = function() { return Object.getOwnPropertyNames(data); } It appears a sensible thing. Just need to think about what effect it would have on the plans to provide a storage plugin for persisting the context data.
Nick
Just push myself, if there is any chance to see this method on conext ever ? :)
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/a66d19ca-0727-462d-99d4-29f6e7b7a2bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
As per my previous reply, I agree it will be useful, but this isn't a one line addition and has wider implications to consider before adding it.
Nick
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/158177e2-8d3a-4a79-b449-0a05c00ef7ff%40googlegroups.com.
Yes I agree this should be a core part of node-red. It just needs the time and resources to make it happen. I have more than enough work given the existing roadmap.
In absence of anyone stepping forward to help, it will have to wait it's turn!
Nick
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/11449a70-0f59-41c6-811b-2691087c8979%40googlegroups.com.