Repository navigation
Commit 914a391
committed
docs: state that wrapper rules must forward skip_if_unchanged
The optimizer consults the rule it holds, so a rule that runs other rules
inside its own optimize() decides for all of them. A wrapper leaving this
at the default silently opts its inner rules out of the skip, which is
the same trap apache#25316 describes for schema_check(). Say so where an
implementor reads it, with the all() form, since a wrapper is skippable
only if every rule it would have run is.1 parent 6b1731c commit 914a391
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
100 | 114 | | |
101 | 115 | | |
102 | 116 | | |
| |||
0 commit comments