Repository navigation
Commit e921d6f
committed
📄 Say what the contextual content answer does and does not guarantee
Two sentences claimed more than the code does.
The language specification said a component whose two forms select different
effects reads the authored form from its invocation. That describes `<File>` and
`<Dir>` and nothing else: every other component reads the contextual operation,
and saying otherwise reads as a rule the reader can rely on. It now states the
boundary as it is — only the invocation's own `hasContent()` is authoritative,
those two read it, and a component reading the contextual operation has no
authored-form guarantee at all.
The architecture said moving the remaining eleven consumers to the invocation is
a follow-up, and that until it happens they are held to the weaker rule. A
contract describes what is built, not what is planned. It now records only the
present terms: those eleven read the contextual answer, so middleware may alter
the effect, the guard or the retained data each of their branches decides, and
this invocation boundary makes no stronger guarantee for them. Which consumer
decides what is already enumerated beside it; the sequencing belongs in the
handback.
Documentation only: no source, test, assertion or test identifier changes.
Refs #3691 parent 9a69ea3 commit e921d6f
2 files changed
Lines changed: 10 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2583 | 2583 | | |
2584 | 2584 | | |
2585 | 2585 | | |
2586 | | - | |
| 2586 | + | |
2587 | 2587 | | |
2588 | 2588 | | |
2589 | 2589 | | |
2590 | 2590 | | |
2591 | 2591 | | |
2592 | | - | |
2593 | | - | |
2594 | | - | |
| 2592 | + | |
| 2593 | + | |
| 2594 | + | |
2595 | 2595 | | |
2596 | 2596 | | |
2597 | 2597 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3740 | 3740 | | |
3741 | 3741 | | |
3742 | 3742 | | |
3743 | | - | |
3744 | | - | |
3745 | | - | |
| 3743 | + | |
| 3744 | + | |
| 3745 | + | |
| 3746 | + | |
| 3747 | + | |
| 3748 | + | |
3746 | 3749 | | |
3747 | 3750 | | |
3748 | 3751 | | |
| |||
0 commit comments