panacloud / cli

Panacloud Command Line Interface (CLI) uses the design-first approach for developing APIs. It generates Modern Multi-Tenant Serverless Cloud API infrastructure, mocks, stubs, tests, and stages using CDK. GraphQL schemas and OpenAPI specifications are used to implement the design-first approach.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Custom Constructs

ziaukhan opened this issue · comments

Currently, if a developer wants to add custom constructs to the generated stack, he/she will have to add a visitor aspect. Some developers might find understanding aspects difficult. Therefore, it might be nice to add a file editable_src/CustomConstructs/AddConstructs.ts which has a method AddConstruct with a stack object as a parameter. In this method, the developer can easily add constructs to the stack. This method will be called before the aspects are called.