NodeJS TypeScript Implementation

Based on the modelled items (root entities, commands, external entities, etc.) within the domain namespace, additional code will be auto generated in the SDK. Using these code artefacts allows to easily implement use cases around aggregate persistence.

For each of the modelled commands, an implementation file is generated, which is meant to cover the business logic of the commands. Also, for each of the external entities an implementation file is generated, which holds the logic around creating, loading and validating the external entity. The underlying database can be easily accessed through the generated Repository which is available at any place in the business logic.