You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The JSII kernel incorrectly serializes enum values for which the string equivalent does not correspond to the label (e.g: LABEL = 'Label'). Those result in the token containing undefined (the literal string) at the value part.
When string-valued enums were serialized, an incorrect reference would
be created if the label of the enum entry did not match it's string
value; due to the lookup code being incorrect.
Updated a string-valued enum and introduced new compliance tests to
ensure such enum values are passed across correctly.
Fixes#753
When string-valued enums were serialized, an incorrect reference would
be created if the label of the enum entry did not match it's string
value; due to the lookup code being incorrect.
Updated a string-valued enum and introduced new compliance tests to
ensure such enum values are passed across correctly.
Fixes#753
🐛 Bug Report
Affected Languages
TypeScript
orJavascript
Python
Java
C#
,F#
, ...)General Information
0.15.2
What is the problem?
The JSII kernel incorrectly serializes enum values for which the string equivalent does not correspond to the label (e.g:
LABEL = 'Label'
). Those result in the token containingundefined
(the literal string) at the value part.This causes aws/aws-cdk#3774
The text was updated successfully, but these errors were encountered: