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
In the solution, CustomerOrderRequest and RegisterCustomerRequest classes are responsible for receiving data from the outside and passing it to the Application level. However, CustomerOrderRequest is placed at the API level, while RegisterCustomerRequest is at the Application level. So, what is the best place for such classes, and why is it better not to use Commands directly as input API parameters?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In the solution, CustomerOrderRequest and RegisterCustomerRequest classes are responsible for receiving data from the outside and passing it to the Application level. However, CustomerOrderRequest is placed at the API level, while RegisterCustomerRequest is at the Application level. So, what is the best place for such classes, and why is it better not to use Commands directly as input API parameters?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions