Skip to content

How to set up node inputs that are created ar runtime, but dont break json #615

Answered by Ni55aN
dbriscoe511 asked this question in Q&A
Discussion options

You must be logged in to vote

since the inputs are clearly added to the outputted json

having connections in JSON is not enough, because Rete.Input and Rete.Output must be predefined for them in the node instance (builder method)

I guess the dynamic_input function should be called inside builder method.

Also I wouldn't recommend calling dynamic_input inside worker. If possible, update dynamic inputs directly when the text in the input changes.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dbriscoe511
Comment options

@Ni55aN
Comment options

Answer selected by dbriscoe511
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants