-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(kernel): correctly de-serialize mappings as JSON #968
Conversation
When mapping data (e.g. a Python `dict`) was passed through a JSON value, it would not be deserialized correctly and the `$jsii.map` markers would remain in the JS-visible map.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a python regresion test that verifies that this is fixed
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
@eladb done!! |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
When mapping data (e.g. a Python `dict`) was passed through a JSON value, it would not be deserialized correctly and the `$jsii.map` markers would remain in the JS-visible map.
When mapping data (e.g. a Python
dict
) was passed through a JSON value,it would not be deserialized correctly and the
$jsii.map
markers wouldremain in the JS-visible map.
Fixes the cause of aws/aws-cdk#4957
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.