flaviostutz / flaviostutz/cdk-practical-constructs

broken createLiveAlias

Open
#66 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
7
Forks
7
PR merge metrics
No merged PRs in 30d

Description

It is not possible to set `createLiveAlias: false` on a `BaseNodeJsFunction`.

It will result in an error when creating an OpenApiGateway:

```
throw new Error(`props.openapiOperations validation errors: ${errorMessage}`);
^

Error: props.openapiOperations validation errors: {
"0": {
"_errors": [],
"lambdaAlias": {
"_errors": [
"Required"
]
}
},
"_errors": []
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.