YamlRenderer: allow all primitive scalar types as map keys (#879)

This commit is contained in:
Josh B
2025-01-13 16:22:52 -08:00
committed by GitHub
parent 267de3c789
commit 160e4a5636
6 changed files with 101 additions and 10 deletions
@@ -608,10 +608,16 @@ Cannot render map with non-string key as {0}.
cannotRenderObjectWithNonStringKey=\
Cannot render object with non-string key as {0}.
cannotRenderNonScalarMapKey=\
cannotRenderNonScalarMap=\
Cannot render map with non-scalar key as {0}.
cannotRenderObjectWithNonScalarKey=\
Cannot render object with non-scalar key as {0}.
cannotRenderProtobufMapKey=\
Cannot render map with a non-scalar, floating point or byte array key.
cannotRenderNonScalarMapKeyType=\
cannotRenderProtobufMapKeyType=\
Cannot render map with a non-scalar, floating point or byte array key type.
cannotRenderObjectWithElementsAndOtherMembers=\