Commit 0600957
fix(schema): fix kind access on write-typed schemas after read-only kind move
Retype the topological sorter's input to the read model (NodeSchemaAPI), and
convert YAML-loaded write schemas to their API form in the protocols command so
`kind` (a read-only computed field) resolves. Clears ty unresolved-attribute
errors introduced by moving kind/hash to the read models.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 8c7b2a8 commit 0600957
2 files changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | | - | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
383 | 387 | | |
384 | 388 | | |
385 | 389 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments