pulumi/sdk/nodejs/cmd/pulumi-language-nodejs/testdata/tsnode/sdks
Fraser Waters d00528918e
Add a conformance test for preserving map keys (#17350)
This adds a conformance test checking we can use map keys like "MY_KEY"
and maintain their casing through program gen. For Python we need to
simplify the type passed to genObjectConsExpression so that we can
reliably determine the target type and check if it's a `TypedDict` or
not, otherwise we might treat it as a plain object and preserve the
keys, instead of `PyName`ing them.

This deletes the "typeddict" test from the codegen tests. Firstly this
is now covered by these conformance tests, secondly it wasn't actually
valid because the schema it was testing against wasn't a valid schema,
and the program snapshot was only how it was because of a bug in
programgen.

That bug is now fixed in this change which fixes
https://github.com/pulumi/pulumi/issues/17294.

---------

Co-authored-by: Julien Poissonnier <julien@caffeine.lu>
2024-10-11 13:34:46 +00:00
..
alpha-3.0.0-alpha.1+exp.sha.5114f85 Conformance test for provider pre-release versions (#16498) 2024-06-29 10:07:14 +00:00
alpha-3.0.0-alpha.1.internal Conformance test for provider pre-release versions (#16498) 2024-06-29 10:07:14 +00:00
asset-archive-5.0.0 Add asset/archive to conformance tests and fix engine working dir issues (#16100) 2024-05-02 11:32:54 +00:00
config-9.0.0 Ensure internal provider state doesn't clash with user config (#16837) 2024-07-30 12:22:32 +00:00
config-grpc-1.0.0 Cover configure (#17508) 2024-10-11 02:23:59 +00:00
fail_on_create-4.0.0 Implement up --continue-on-error (#15740) 2024-04-22 11:12:45 +00:00
large-4.3.2 Add large string conformance test (#16034) 2024-04-25 08:14:34 +00:00
plain-13.0.0 Add a conformance test for preserving map keys (#17350) 2024-10-11 13:34:46 +00:00
primitive-7.0.0 Add a test of sending primitive values for a resource (#16718) 2024-07-22 21:13:11 +00:00
primitive-ref-11.0.0 Add l2-primitive-ref conformance test (#17302) 2024-09-24 08:42:24 +00:00
ref-ref-12.0.0 Add ref-ref conformance test (#17367) 2024-09-26 22:00:55 +00:00
simple-2.0.0 Run conformance tests with and without ts-node (#15809) 2024-03-28 15:44:25 +00:00
simple-invoke-10.0.0 [sdk/python] Send plain values to the engine in output invokes and keep track of input dependencies/secrets (#17460) 2024-10-04 18:42:11 +00:00