fix(core,gen): UseStateForUnknown для Optional+Computed + live-dосылка без тихого fallback (R1+R3+A/B)

This commit is contained in:
Repinoid
2026-09-22 22:35:45 +03:00
parent 0473f80f69
commit b9fa18164c
10 changed files with 149 additions and 8 deletions
@@ -35,6 +35,7 @@ func WriteInstanceResource(outDir string, svc types.GenResource) error {
// читает обратно из state_params, обязан быть Optional+Computed, если он
// не Required и без Default. См. подробное объяснение в helpers.go.
"ShouldBeOptionalComputed": helpers.ShouldBeOptionalComputed,
"ShouldUseStateForUnknown": helpers.ShouldUseStateForUnknown,
"ParamFormat": helpers.ParamFormat,
"ParamParse": helpers.ParamParse,
"ParamDescription": helpers.ParamDescription,