GraphiteEditor / GraphiteEditor/Graphite
Support multiple outputs in a proto node definition with return struct unpacking in the node macro
- Vorherrschende Sprache
- Rust
- Sterne
- 27.2k
- Forks
- 1.3k
- Ø Merge
- 20 Std. 5 Min.
- Gemergte PRs (30 T.)
- 57
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Start by locating the node macro and reading how it currently generates node definitions and handles return values. Compare the existing generated structure with the desired annotated return struct behavior, and determine whether direct output unpacking or a generated subgraph fits the macro design. Done means a returned annotated struct produces separate named outputs without breaking existing node definitions.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- rust
- Bereich
- devtools
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100