pulumi/pkg/backend/display
Pat Gavlin b1052008ff
[diff] Handle YAML maps with numeric keys. (#9503)
YAML supports mappings with arbitrarily-typed keys (unlike JSON, which
only supports string keys). These mappings decode into
`map[interface{}]interface{}` values, which are not supported by
`resource.NewPropertyValue`. These changes add a function to the display
logic that translates `map[interface{}]interface{}` values decoded from
YAML to `map[string]interface{}` values iff the keys are strings or
numeric values.

Fixes #9502.
2022-05-02 12:11:46 -07:00
..
testdata [cli] Render JSON/YAML encoded values as objects. (#9484) 2022-04-28 16:16:06 -07:00
diff.go [cli] Render JSON/YAML encoded values as objects. (#9484) 2022-04-28 16:16:06 -07:00
diff_test.go [cli] Refactor the diff printer. (#9367) 2022-04-09 16:04:35 -07:00
display.go [cli] Add a replay-events debug command. (#9271) 2022-04-07 09:03:19 -07:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
events.go [cli] Add a replay-events debug command. (#9271) 2022-04-07 09:03:19 -07:00
json.go Revert "Strip Aliases from state (#9275)" (#9282) 2022-03-24 20:08:18 +01:00
jsonmessage.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
object_diff.go [diff] Handle YAML maps with numeric keys. (#9503) 2022-05-02 12:11:46 -07:00
options.go Rename PermaLink to Permalink (#7999) 2021-09-20 09:42:29 -07:00
progress.go [cli] Render JSON/YAML encoded values as objects. (#9484) 2022-04-28 16:16:06 -07:00
query.go re-enable and color dot spinner for non-interactive mode (#8996) 2022-02-15 14:37:04 -08:00
rows.go [display] Refactor diff translation and display. (#9363) 2022-04-07 12:05:33 -07:00
tableutil.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
watch.go [cli] Add a replay-events debug command. (#9271) 2022-04-07 09:03:19 -07:00