justinThompson

Results comments of justinThompson

I would be interested in trying an early version, happy to give feedback.

The ```propertyOverrides.methodResponses``` option no longer works after the [refactor: readonly struct properties and hide internals](https://github.com/awslabs/aws-cdk/pull/2106) PR. I'm not really sure how to work around this now. Any ideas?

Oh nice one, thanks :thumbsup:

Is the workaround to use inline lambda code for the time being?

If anyone else runs into this, I used this as a workaround: ```javascript new lambda.Function(this, 'function', { runtime: lambda.Runtime.NodeJS810, handler: 'index.handler', code: lambda.Code.inline(this.localAsset(path.join(__dirname, 'index.js'))), }); ``` ```javascript localAsset(path: string) {...

Fair enough. I decided to turn CORs off and finally put my dev api on a proper subdomain.

Thinking about it a bit more, is CORS not a pretty common use case for api gateway? And if this approach is the recommended way to split up api stacks,...