pulumi/tests/testdata/codegen/simple-plain-schema-with-ro.../docs
Brandon Pollack 49dbdbcafa Add the ability to generate aliased import prefixes to go generator.
Previously, if there were nested arguments in schemas, generation of go
code would simply use the go module name, but when imports are generated
they are potentially aliased to avoid naming conflicts.

This is taken into account at the top level since the aliases are
checked directly, but when traversing downward the argument types are generated
after conversions from the PCL schema data.

This fix adds an optional map to pkgContext that contains the go module
info, which contains the appropriate base path to check against aliases.
We also add aliases to the map that are generated by the import system
(and not just from other go package infos).
2024-09-30 17:11:00 +09:00
..
component Add the ability to generate aliased import prefixes to go generator. 2024-09-30 17:11:00 +09:00
provider Link to Python docs about input types (#16763) 2024-07-31 08:46:04 +00:00
_index.md Move codegen testdata (#15549) 2024-03-06 20:36:50 +00:00
codegen-manifest.json Move codegen testdata (#15549) 2024-03-06 20:36:50 +00:00