From 01dd25df0a17d0dbf40b6cd5dc45a052910528a8 Mon Sep 17 00:00:00 2001 From: Zaid Ajaj Date: Tue, 3 Jan 2023 00:44:48 +0100 Subject: [PATCH] make sure inlineObjectAsReturnType is set correctly --- pkg/codegen/schema/bind.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/codegen/schema/bind.go b/pkg/codegen/schema/bind.go index 5ec1c61df006..3fbebf03f2d6 100644 --- a/pkg/codegen/schema/bind.go +++ b/pkg/codegen/schema/bind.go @@ -1580,6 +1580,7 @@ func (t *types) bindFunctionDef(token string) (*Function, hcl.Diagnostics, error } outputs = outs returnType = outs + inlineObjectAsReturnType = true } fn := &Function{