Skip to content

Commit 0e51b65

Browse files
committed
docs(changeset): the #22642 note's validate sentence is true at this head
`.changeset/22642-flow-cel-record-binding.md` said `objectstack validate` does not refuse an entrance-less `record` read yet. With `record` now entrance-derived at the build door it does, so that one sentence is corrected (a DELIBERATE CORRECTION of a pending note, per seat order 6102049574). The 22677 note's closing line, which pointed at the old sentence, is dropped. Claude-Session: https://claude.ai/code/session_01KNKBCRDJCu5tGy3TEbvtrF Co-authored-by: Claude <noreply@anthropic.com>
1 parent 8a65474 commit 0e51b65

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

‎.changeset/22642-flow-cel-record-binding.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ In a flow whose run holds no record, read a variable by its name:
3535
- this repository at `0ec4268972` (`examples/**`, `packages/platform-objects`, `packages/qa/dogfood`): 64 flows, 51 CEL slots, no flow in `packages/platform-objects`; the 2 flows that read `record` are an `api` hook flow and a record-change flow;
3636
- `objectstack-ai/hotcrm` at `f0afcbda07` (`src/`, `test/`): 45 flows, 57 CEL slots; the 12 flows that read `record` are all record-change flows.
3737

38-
Deployed metadata and other repositories were not measured. `objectstack validate` does not refuse such a `record` read yet; the run fails it, naming the root and the source.
38+
Deployed metadata and other repositories were not measured. `objectstack validate` refuses such a `record` read too, naming the root (see `@objectstack/lint`'s note).

‎.changeset/22677-flow-cel-record-entrance.md‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,3 @@ A start `config.objectName` alone is no entrance: with no `record-*` trigger not
2929
**The one-line fix: read a flow variable by its name or through `vars`, and read `record` only on a flow an entrance hands one.**
3030

3131
**Who is affected, measured.** With this judge over every flow CEL site: the example apps (`app-crm`, `app-todo`, `app-multi-package`, `app-showcase`: 35 flows, 14 that read `record`), `packages/platform-objects` (no flows) and `objectstack-ai/hotcrm` at `1d7148b` (32 flows, 14 that read `record`): 0 newly refused. Every flow that reads `record` there is a record-change, time-relative or inbound-hook flow. Deployed metadata and other repositories were not measured.
32-
33-
The #22642 note in this release says `objectstack validate` does not refuse such a `record` read yet. From this release it does.

0 commit comments

Comments
 (0)