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
Sorry for late response - looks like my mistake, there should be AddEquipmentRequest in as argument in Repository method :). Thanks for catching that I'll provide small patch. @oliveirafilipe
@oliveirafilipe I've patched that method, I've also introduced a new pattern to the repository which affects this method. Enjoy and thank's for using this repo :) - Closing this issue.
Hi @Melzar, first: Your boilerplate is helping me a lot since it's my first deep dive in all those great architectural techniques.
I'm reading hgraca's article while reading your code
I was going down trough the stack and found this method:
onion-architecture-boilerplate/src/core/applicationServices/Equipment/EquipmentService.ts
Lines 17 to 25 in 0ec089c
It is creating an
AddEquipmentRequest
to pass as parameter, but in the method definition:onion-architecture-boilerplate/src/infrastructure/database/repository/EquipmentRepository.ts
Lines 79 to 82 in 0ec089c
It is expecting
CreateEquipmentRequest
.I know that both classes have the same signature:
onion-architecture-boilerplate/src/core/applicationServices/Equipment/requests/CreateEquipmentRequest.ts
Lines 1 to 3 in 0ec089c
onion-architecture-boilerplate/src/core/domainServices/Equipment/request/AddEquipmentRequest.ts
Lines 1 to 3 in 0ec089c
So, is
EquipmentRepository
class defining the wrong signature foraddEquipment
method or am i missing something?Thank you!
The text was updated successfully, but these errors were encountered: