Commit 275001e
Fix inline type naming: set current_schema_name in add_inline_schema
Inline schemas processed via add_inline_schema were not updating
current_schema_name before calling analyze_schema_value. This caused
all nested inline property types (enums, unions, objects) to inherit
the stale current_schema_name from whatever named schema was last
processed, resulting in incorrect type name prefixes (e.g., all
inline types getting a "WorktreeResetInput" prefix regardless of
their actual parent schema).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 0f95063 commit 275001e
2 files changed
Lines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2353 | 2353 | | |
2354 | 2354 | | |
2355 | 2355 | | |
| 2356 | + | |
| 2357 | + | |
| 2358 | + | |
| 2359 | + | |
2356 | 2360 | | |
| 2361 | + | |
2357 | 2362 | | |
2358 | 2363 | | |
2359 | 2364 | | |
| |||
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
28 | 34 | | |
29 | 35 | | |
30 | 36 | | |
| |||
41 | 47 | | |
42 | 48 | | |
43 | 49 | | |
44 | | - | |
| 50 | + | |
45 | 51 | | |
46 | | - | |
47 | | - | |
| 52 | + | |
| 53 | + | |
48 | 54 | | |
0 commit comments