Custom input types for immediate inputs of custom nodes #21
Unanswered
vincenzoml
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
Currently the data type in the // TODO: Investigate usage of array and number as data type usage in custom nodes.
// Known usage:
// - https://github.com/rgthree/rgthree-comfy Context Big node is using array as type.
export const zDataType = z.union([z.string(), z.array(z.string()), z.number()]) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In a new application I'm invoking custom nodes in comfyui, via machine generated prompts, and the custom nodes accept structured records as inputs. I just put the structured records in the JSON format of the workflow as immediate inputs of the nodes as follows
but I get a warning in the interface as shown below; is this unavoidable? Should the interface accept also structured objects even if these can't be directly edited? They could be edited as JSON nevertheless. I was considering an RFC.
Beta Was this translation helpful? Give feedback.
All reactions