Frontend type constraints - #4334
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a structured FrontendTypeConstraintForInput enum to handle complex type constraints for node inputs, replacing the previous simple string representation. It includes logic to compute, intersect, and validate these constraints, along with comprehensive unit tests and corresponding frontend updates in NodeCatalog.svelte. The review feedback highlights several instances where the unqualified warn! macro should be replaced with log::warn! to prevent compilation errors, identifies a few typos in comments, and suggests using optional chaining in the frontend to safely access nested properties.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
558bba1 to
b5d20e4
Compare
69372a6 to
ec6cdab
Compare
ec6cdab to
121af36
Compare
121af36 to
d57a2b6
Compare
|
LGTM will merge in the next days |
|
Thanks. |
|
!build (Run ID 31647915911) |
Wasm: 37.95 MB — JS: 0.45 MB — CSS: 0.09 MB — Fonts: 0.30 MB — Images: 0.09 MB — All Assets: 38.88 MB |
Closes #4330