pulumi/pkg/codegen/go
Zaid Ajaj 91bcce199a
Revert "[sdk-gen/go] Fix compiling plain element type with plain maps" (#15059)
Reverts pulumi/pulumi#14704 

Fixes #15023 because the PR above changed how object types are
referenced when they are plain. It seems that we only support _shallow_
plain types (only container of nested objects can be plain, not the
object itself) which is why we confused the previous diffs to be
correct.

This reverts the PR previous to fix the breaking change at hand but will
reopen #14662 and make sure the fix for it is to generate `ObjectType`
_and_ `ObjectTypeArgs` regardless of whether the location where the
object type is referenced in the schema.
2024-01-05 15:22:41 +00:00
..
gen_program_test Use `assert.NoError` rather than `assert.Nil` (#14233) 2023-10-13 09:46:07 +00:00
doc.go Enable perfsprint linter (#14813) 2023-12-12 12:19:42 +00:00
doc_test.go sdk/go: Remove 'nolint' directives from package docs 2023-01-06 09:06:47 -08:00
embeddedUtilities.go Support returning plain values from methods (#13592) 2023-11-18 06:02:06 +00:00
gen.go Revert "[sdk-gen/go] Fix compiling plain element type with plain maps" (#15059) 2024-01-05 15:22:41 +00:00
gen_program.go [program-gen/go] Fix required config variables of type bool and number (#14958) 2023-12-20 13:16:37 +00:00
gen_program_expression_test.go [go/program-gen] Add unit tests for argumentTypeName and go optional functions (#14990) 2023-12-22 15:33:56 +00:00
gen_program_expressions.go [go/program-gen] Add unit tests for argumentTypeName and go optional functions (#14990) 2023-12-22 15:33:56 +00:00
gen_program_inline_invoke.go Enable perfsprint linter (#14813) 2023-12-12 12:19:42 +00:00
gen_program_json.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
gen_program_optionals.go [codegen/go] Improve optional params in invoke 2022-02-01 11:44:40 -08:00
gen_program_read_dir.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
gen_program_splat.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
gen_program_ternaries.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
gen_program_test.go Update esc to v0.6.1 (#14939) 2023-12-19 08:05:16 +00:00
gen_program_utils.go [program-gen] Fix generated utility functions for filebase64, filebase64sha256, sha1 and mimeType (#14857) 2023-12-15 11:26:00 +00:00
gen_spill.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
gen_test.go Clean up uses of .Error() (#14965) 2023-12-20 15:54:06 +00:00
importer.go [go/sdk-gen] Generating SDK with generics (#13828) 2023-09-19 10:28:50 +00:00
test.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
utilities.go Enable perfsprint linter (#14813) 2023-12-12 12:19:42 +00:00
utilities_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00