Baroshem / microservice-template

📖 Nest.js based microservice repository template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

refactor utils module

Baroshem opened this issue · comments

Feature Request

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

  • remove RpcExceptionService -> I have not seen anyone using solution similar to that. And it is also not efficient if your microservice does not use all provided exceptions (in that case we are implementing methods that won't be used in this project)
  • move validation service to database module and rename it to something similiar to database naming convention (as this service validates only database errors)
  • move mocks higher away from utils module
  • remove utils module

Teachability, Documentation, Adoption, Migration Strategy

What is the motivation / use case for changing the behavior?