Repository navigation
Add an explicitly enabled single-result query view - #41
Conversation
Use a private native Arc query instance with context forwarding, cancellation, generation guards and visible result states. Select only an explicit own scalar model field; keep arguments and binding selection under host control. Verified 39 native Arc HTTP-boundary cases, 171 component regressions, affected type/bundle builds and lint. Independent runtime review approved the bounded increment; editable Scene input and deployed-backend acceptance remain follow-up work.
|
Scoped local checks passed: 39 tests exercise the published Arc 22.16.1 QueryFor/validation through a fake HTTP boundary (perform is not mocked), 171 component tests pass, and affected model/engine/react/components builds and non-fixing lint pass. Independent review approved the runtime scope with documented inspection limits. Existing peer/Vite warnings remain visible. This is host-controlled, scalar-own-field optional-model presentation—not editable Scene parameter binding, arbitrary primitive results, generated ProjectById deployment or full-stack acceptance. #39 remains open. |
|
Fresh CI 35128753014 exposed clean-build type errors missed by local incremental output: the older table/page/dialog adapters pass the registry’s untyped BoundConstructor into the now-resolved typed Components APIs, and the radio-button adapter lacks a required name prop. This is not being waived or fixed by removing native Arc coverage. A bounded adapter-contract correction and forced fresh affected type build are underway; the PR remains draft. The earlier 39 native-client and 171 component tests passed, but did not establish clean CI build compatibility. |
Keep Arc loading lazy while validating generated proxy kinds at one typed boundary. Supply the native radio group name from the explicit property without changing the exported FieldBinding contract. Fresh forced type checks, 186 component tests, lint and bundle build pass; independent bridge review approved the scoped native-proxy contract. Fresh CI must also cover its newer Components resolution.
|
Clean-build correction committed as c6806b8. Five adapters now reach Components through a private lazy native-Arc bridge, validating proxy kind without constructing it; registry registration and missing-binding behavior remain intact. Radio group names come from the explicit bound property, and the exported FieldBinding shape is unchanged. Forced component/prerequisite type checks, 186 tests, non-fixing lint and bundle passed; independent bridge review approved with documented native-proxy/erased-type limits. Local Components is 4.6.0; fresh CI must confirm its 4.7.0 resolution. No type-check suppression, blanket any, dependency rollback or old-test removal was used. |
Added
Cratis.Components:singleResult, using an explicitly registered Arc query and host-supplied arguments. (Support optional-single keyed queries with explicit Scene inputs #39)The host explicitly enables the view and supplies committed arguments. Editable Scene parameter binding and general result templates are not included in this increment.