Schema: each expression field says which values and variables it accepts
ci / fork-checks (pull_request) Successful in 1m31s
ci / build (pull_request) Successful in 16m47s

The registry knows, for every expression field, the constants it may
evaluate to and the variables its conditions may read, and enforces both.
The schema served to INBUXA Admin described every one as a bare
x:Expression, so the console could offer nothing better than free text.

tools/fork/expr-schema.py reads those contexts from the generated registry
code and writes them onto each field's type as
expression: {constants, variables}. All 124 expression fields are covered.
CI runs it with --check so the schema can't drift from the registry.
This commit is contained in:
2026-09-28 10:36:43 -07:00
parent 7bbbff0648
commit 820ef5df2c
6 changed files with 164 additions and 1 deletions
+1 -1
View File
@@ -1 +1 @@
8Wyl9buv_eSbbGGhV-UZcjGHG_H77eorpuoI2u6wgnY
r0pqQlntxFWW4X3bTLq57ObxRipXJXdzjsL9cyzz2Bo