cdklabs / construct-hub-webapp

React web app for Construct Hub
Apache License 2.0
21 stars 11 forks source link

Code examples in CDK submodule overviews do not respect the selected language #907

Open gshpychka opened 2 years ago

gshpychka commented 2 years ago

I'm using aws-cdk-lib as an example. In the overview of every submodule, there are code examples. Currently, they are always in TypeScript, regardless of the language selected.

Example: https://constructs.dev/packages/aws-cdk-lib/v/2.12.0?submodule=aws_apigateway&lang=python

Chriscbr commented 2 years ago

Thanks for reporting this. I think this might be a bug with jsii-rosetta, but I'm not 100% sure. I've made a separate report here as well https://github.com/aws/jsii-rosetta/issues/1242