You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also make api.ts import the routes related to the service from serviceName/index.ts instead of being declared in api.ts itself.
My suggestion is to put adapter under service instead of under src/adapters to prepare for a future extraction of serviceName to a separate micro service (all dependencies under service).
The text was updated successfully, but these errors were encountered:
Add a service with:
src/
serviceName/
index.ts
types.ts
adapters/
postgresAdapter/
index.ts
Also make api.ts import the routes related to the service from serviceName/index.ts instead of being declared in api.ts itself.
My suggestion is to put adapter under service instead of under src/adapters to prepare for a future extraction of serviceName to a separate micro service (all dependencies under service).
The text was updated successfully, but these errors were encountered: