Commit Graph

4 Commits

Author SHA1 Message Date
Fraser Waters 966fd75011
Check PCL outputs can have arbitrary labels ()
Prompted by https://github.com/pulumi/pulumi-yaml/pull/546

At some point we added `__logicalName` to outputs to match
resources/config. But outputs don't actually need lexical and logical
names, they only have logical names. In the cases where `__logicalName`
was set the lexical name was totally ignored.

We can simply just use the block label (block labels can be arbitrary
strings) and eventually deprecate the `__logicalName` option on
`output`.
2024-01-18 22:07:02 +00:00
Zaid Ajaj 0ee4b78a90 Regen TypeScript examples 2023-06-07 10:54:25 +02:00
Fraser Waters a0aa8c3519 Add config to logical-name-pp test 2023-01-04 22:21:09 +00:00
Aaron Friel 98e48f4cc4
codegen: preserve externally visible names of a resources and outputs ()
* codegen: preserve externally visible names of a resources and outputs

* refactor: rename unique name to logical name
2022-04-25 15:07:25 -07:00