mirror of https://github.com/pulumi/pulumi.git
![]() Non-string provider inputs must be projected as JSON formatted strings. The current codegen simply calls `json.dumps` for such properties, but this does not work for the new input types, which aren't JSON serializable. This commit adds a new `pulumi.runtime.to_json` utility function to the core SDK, which is capable of serializing both raw dicts and input types as JSON. The codegen will be updated to make use of this new function rather than `json.dumps`. |
||
---|---|---|
.. | ||
langhost | ||
__init__.py | ||
test_next_serialize.py | ||
test_runtime_to_json.py | ||
test_test_mode.py | ||
test_translate_output_properties.py | ||
test_types_input_type.py | ||
test_types_output_type.py | ||
test_types_resource_types.py | ||
test_utils.py |