amplication icon indicating copy to clipboard operation
amplication copied to clipboard

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

Open abrl91 opened this issue 2 years ago • 2 comments

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}`);

abrl91 avatar Nov 16 '23 09:11 abrl91

Put an pr @abrl91 if its looks right to you you can go forward with merging or if any difficulties we can discuss. Thanks.

xonx4l avatar Nov 17 '23 05:11 xonx4l

Internal change. Logs still log as expected. Passed QA ✅

Image

abrl91 avatar May 01 '24 11:05 abrl91