Skip to content

Commit

Permalink
make sure inlineObjectAsReturnType is set correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaid-Ajaj committed Jan 2, 2023
1 parent 940999c commit 01dd25d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/codegen/schema/bind.go
Expand Up @@ -1580,6 +1580,7 @@ func (t *types) bindFunctionDef(token string) (*Function, hcl.Diagnostics, error
}
outputs = outs
returnType = outs
inlineObjectAsReturnType = true
}

fn := &Function{
Expand Down

0 comments on commit 01dd25d

Please sign in to comment.