Skip to content

Support multiple outputs in a proto node definition with return struct unpacking in the node macro #2517

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Keavon opened this issue Apr 5, 2025 · 0 comments
Labels
Graphene Involves the node graph system/engine used by Graphite

Comments

@Keavon
Copy link
Member

Keavon commented Apr 5, 2025

The node macro should be updated to convert a returned struct (with each field annotated with an attribute for metadata like the output name) into the necessary node definitions to unpack the struct as separate outputs. This could occur by generating a subgraph, but an approach which allows for avoiding that would be preferred.

@Keavon Keavon added the Graphene Involves the node graph system/engine used by Graphite label Apr 5, 2025
@Keavon Keavon added this to Task Board Apr 5, 2025
@github-project-automation github-project-automation bot moved this to Short-Term in Task Board Apr 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Graphene Involves the node graph system/engine used by Graphite
Projects
Status: Short-Term
Development

No branches or pull requests

1 participant