-
Notifications
You must be signed in to change notification settings - Fork 32
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
Using the BaseConstruct #10
Comments
Thanks for contacting our repository. In facts, pattern constructs in These are examples for creating the construct pattern:
|
Hi, I see that in your patterns
lib/template/patterns
folder, all the patterns extend theBaseConstruct
. Each pattern's props also extend theConstructCommonProps
. What is the best way to create an instance of something like theLambdaSimplePatternProps
to pass in to the lambda pattern? If i had to instantiate aLambdaSimplePatternProps
by assigning all the fields fromConstructCommonProps
, it would lead to a lot of boilerplate code.I've also noticed in other projects that follow this devops setup, you don't extend
BaseConstruct
at all, which simplifies the usage of the pattern i think.The text was updated successfully, but these errors were encountered: