You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a table-driven parity test for the overlapping resource-input/provider-function cases: primitive list/set/map types, boolean token handling, whole-collection IResolvable acceptance, nested degradation to any[]/IResolvable.
Evaluate whether a small shared semantic descriptor across the generator paths earns its maintenance cost, or whether the explicit mirroring comments remain the right guardrail.
Collection type-mapping policy currently lives in four places with overlapping (but not identical) responsibilities:
packages/@cdktn/provider-generator/.../attribute-type-model.ts— resource/provider argument input types, recursive list/set/map handling, computed stored-class selectionpackages/@cdktn/provider-generator/.../provider-function-model.ts— provider-function parameter types, jsii-safe return types, Token return wrappers (added in feat: support newer provider plugin-protocol features via targetVersions (RFC-04) #296; documents that it mirrors the attribute model "branch for branch")packages/@cdktn/hcl2cdk/src/coerceType.ts— Terraform collection ->Token.asXxxcoercionpackages/cdktn/src/functions/helpers.ts— the older, partial built-in-function return wrappersFollow-up (from #296 (comment)):
IResolvableacceptance, nested degradation toany[]/IResolvable.