Repository navigation
Commit 7d8e4df
Markus
docs(workflows): warn that path keys outside [\w-] no longer resolve
The docs said the former engine looked up a key such as
`{{ inputs.weird:key }}` as a path and rendered the miss as an empty
string or `None`. When the key existed, the lookup resolved to its
value, so a workflow that uses such a key worked before and now fails
with a ValueError at run time.
Correct the claim in workflows/ARCHITECTURE.md, the engine docstring and
the test docstring, and add a compatibility note to the workflow
reference: rename the key and its references, since quoted-key lookup is
not supported and validation may not catch these expressions before a
run.
Assisted-by: Pi Coding Agent (model: claude-opus-5.5, autonomous)1 parent 23faa2d commit 7d8e4df
4 files changed
Lines changed: 7 additions & 4 deletions
File tree
- docs/reference
- src/specify_cli/workflows/expressions
- tests
- workflows
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1298 | 1298 | | |
1299 | 1299 | | |
1300 | 1300 | | |
| 1301 | + | |
| 1302 | + | |
1301 | 1303 | | |
1302 | 1304 | | |
1303 | 1305 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1795 | 1795 | | |
1796 | 1796 | | |
1797 | 1797 | | |
1798 | | - | |
1799 | | - | |
| 1798 | + | |
| 1799 | + | |
1800 | 1800 | | |
1801 | 1801 | | |
1802 | 1802 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
| 211 | + | |
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
| |||
0 commit comments