Commit 9a3ead9
fix: return empty object for configurable fields without type in simulation
When a schema has `configurable: true` but no explicit type (like `type Context any`),
return an empty object `{}` instead of `null` during data simulation.
This fixes the LLM tools `get_node_port_schema` returning `context: null` for downstream
ports when the Context field hasn't been extended with a schema yet.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 7fcbf00 commit 9a3ead9
1 file changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
80 | 90 | | |
81 | 91 | | |
82 | 92 | | |
| |||
0 commit comments