@stevescruz
Here modules act as bounded context or same part of domain.
As I see in CreateAppointmentService
import IAppointmentsRepository from '@modules/appointments/repositories/IAppointmentsRepository';
import INotificationsRepository from '@modules/notifications/repositories/INotificationsRepository';
Is it ok to call different modules which act as the cross boundaries?
I need to know without event driven how can we make cross boundary communication.
Is it ok to duplicate code/entity for each domains/sub-domains?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
@stevescruz Here modules act as bounded context or same part of domain.
As I see in CreateAppointmentService
import IAppointmentsRepository from '@modules/appointments/repositories/IAppointmentsRepository';
import INotificationsRepository from '@modules/notifications/repositories/INotificationsRepository';
Is it ok to call different modules which act as the cross boundaries? I need to know without event driven how can we make cross boundary communication. Is it ok to duplicate code/entity for each domains/sub-domains?