besom icon indicating copy to clipboard operation
besom copied to clipboard

Test mangled properties

Open lbialy opened this issue 2 years ago • 1 comments

Codegen mangles property names that are in the set of reserved keywords for both JVM, Scala and Pulumi (wait, notify, given, urn, id, etc). These properties are generated with a following underscore so: notify_, urn_. We need to implement identical logic (probably via a separate module?) for mangling and demangling between codegen and core and use it in ResourceDecoder field lookup.

lbialy avatar Oct 01 '23 19:10 lbialy

Needs some tests.

lbialy avatar Jan 11 '24 10:01 lbialy