Repository navigation
Commit 9249c37
committed
docs: validating-metadata documents the react block field-prop class; fix a related-list example that named keys nothing reads
Two hand-written docs the docs-drift check flagged, both about the surface this
PR changes.
`deployment/validating-metadata.mdx` enumerates what `os validate` catches, and
after this PR it missed the largest new class. §10 covers it: which block props
resolve, that the record:* blocks ride the SAME descriptor table as §5 (so a
component is described once and checked wherever it is authored), that
<RecordRelatedList objectName> is the related child object, and why a filter
position gates when everything else advises. §5 gains one line pointing at it.
`ui/pages.mdx` authored its record:related_list example as
`properties: { object, relationship }`. Neither key exists on
RecordRelatedListProps and no conversion-layer alias maps them, so `properties`
being unvalidated is the only reason the example parses — an author copying it
gets a related list bound to nothing. Corrected to `objectName` /
`relationshipField`, with a comment naming which object each one is: the same
confusion this PR settles in the contract, one doc over.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012rK2McPogrTJBKdUsThrGs1 parent a60f110 commit 9249c37
2 files changed
Lines changed: 49 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
| 137 | + | |
137 | 138 | | |
138 | 139 | | |
139 | 140 | | |
| |||
274 | 275 | | |
275 | 276 | | |
276 | 277 | | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
277 | 321 | | |
278 | 322 | | |
279 | 323 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
232 | 234 | | |
233 | 235 | | |
234 | 236 | | |
235 | 237 | | |
236 | 238 | | |
237 | | - | |
| 239 | + | |
238 | 240 | | |
239 | 241 | | |
240 | 242 | | |
| |||
0 commit comments