amplication/amplication

As a Dev - I want to clean up areas in the `data-service-generator` package where we use the `context` of the DSG in an inconsistent way

オープン

#7,433 opened on 2023/11/16

 (2 件のコメント) (0 件のリアクション) (1 人の担当者)TypeScript (1,296 件のフォーク)batch import
good first issueopen to community

Repository metrics

Stars
 (12,777 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

There are files that we don't extract all the properties from the context and use context. . For example:

 const { entities, roles, clientDirectories } = context;

 await context.logger.info("Creating admin..."); <--- context.logger
 await context.logger.info(`Admin path: ${clientDirectories.baseDirectory}`);

コントリビューターガイド