Relationships
#4532 GCP codegen: StateData inferred from StateSchema may hit TS2589 now that nested state objects are .partial()
Opened by stack72 · 11/8/2026
Follow-up from swamp-club #2487 (PR 673). The AWS generator now emits StateData as Record<string, unknown> because inferring it from the all-optional nested StateSchema exceeded TypeScript instantiation depth (TS2589) on QuickSight. The GCP generator (codegen/gcp/extensionModelGenerator.ts, the StateData line) still emits z.infer of StateSchema. GCP StateSchemas are depth-capped at 5 and type-check today, but a deeper discovery schema could fail deno check after a regen. StateData is only a cast target there too, so the same Record<string, unknown> change applies. Raised as a low finding by both verification reviewers.
Open
No activity in this phase yet.
system commented 11/8/2026, 11:15:29 PM
Classified automatically when this issue was filed.
- Source: Extensions
If you feel this classification is incorrect, add a ripple to tell us so.
Sign in to post a ripple.