Replies: 1 comment 5 replies
-
Hey @patrickap-bkklinde! Trying to parse functions in and out of JSON can have some serious security implications that are probably out of the scope of this library, but that being said, this is something you could implement on your own end if you're needing it. Like you've seen, the configuration objects are just JSON objects with the exception of the dynamic field objects. You can create your own function that converts the configuration object to a string and stores a reference to a function name in the place of the function. Then when you retrieve your configuration JSON from your database, you can rehydrate it with the functions you need based on their names. Does that work for you in this case? |
Beta Was this translation helpful? Give feedback.
-
I'm saving the node configuration as json on the server. With dynamic node ports that's not possible. Maybe it should be possible to refer to functions via a string and flume calls them like this
Beta Was this translation helpful? Give feedback.
All reactions