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 建立於 2023年11月16日

 (2 則留言) (0 個反應) (1 位負責人)TypeScript (1,296 個分叉)batch import
good first issueopen to community

倉庫指標

星標
 (12,777 顆星)
PR 合併指標
 (30 天內沒有已合併 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}`);

貢獻者指南