pulumi/sdk/nodejs/runtime
Vincent Link 9b009d7db2
Fix usage of getters and setters in Lambda callback functions (#16568)
Fixes #16541 

Hi,

this is an attempt to fix #16541 , feedback is greatly appreciated!

I was not able to test if the result works as expected, I just adjusted
the code and manually created a test snapshot from the mocha console
output until I thought it looked right.

Could someone tell me...
1. how to actually build the `@pulumi/pulumi` package and how to test
the fixes quickly?
2. how to create a snapshot for a new closure test?
3. if there is a quick way to write the TypeScript code in this project,
set breakpoints and run tests against it?
- I plan to investigate the pnpm bundling bug of the `CallbackFunction`
but working on this and testing the code is extremely tedious right now
as I do not know your secrets (yet 😀)
- I didn't find these infos in the `CONTRIBUTING.md` and other READMEs
- I am very familiar with TypeScript and the nodejs tooling, but no clue
how everything is stitched together in this repo
- feel free to send me a Slack message in the Pulumi Community or
suggesting another communication channel



Thanks!

fyi @julienp
2024-07-08 09:51:12 +00:00
..
closure Fix usage of getters and setters in Lambda callback functions (#16568) 2024-07-08 09:51:12 +00:00
asyncIterableUtil.ts Apply autoformat 2023-04-28 18:27:10 -04:00
callbacks.ts fix race condition when registering stack transform (#16443) 2024-06-24 09:35:40 +00:00
config.ts Apply autoformat 2023-04-28 18:27:10 -04:00
debuggable.ts Use existing PULUMI_DEBUG_PROMISE_LEAKS=1 flag to enable printing 2023-06-15 07:43:05 -07:00
dependsOn.ts Implement `dependsOn` for invokes in the NodeJS SDK (#16560) 2024-07-03 14:47:59 +00:00
index.ts Add support for async mocks in TS 2023-06-01 13:58:53 +02:00
invoke.ts Implement `dependsOn` for invokes in the NodeJS SDK (#16560) 2024-07-03 14:47:59 +00:00
mocks.ts Fix NodeJS SDK mocking of custom resource reads (#16542) 2024-07-01 16:05:30 +00:00
resource.ts Implement `dependsOn` for invokes in the NodeJS SDK (#16560) 2024-07-03 14:47:59 +00:00
rpc.ts Implement up --continue-on-error (#15740) 2024-04-22 11:12:45 +00:00
settings.ts Remove stray console.log (#15616) 2024-03-07 11:21:48 +00:00
stack.ts add RegisterResourceTransform as alias for RegisterStackTransform (#16435) 2024-06-21 13:48:56 +00:00
state.ts NodeJS transforms (#15532) 2024-03-07 08:52:34 +00:00