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
For example we have a BookResponse (DTO) in Application.Shared, but It would be way more easier to locate it in the folder along with the classes that use it.
So, it can be moved to the Application/Books folder where it serves as a response for handlers.
But the problem is it references Infrasturcture for mappings methods, and Infrastructure must reference this DTO to make maps, therefore Circular Reference is produced.
The problem is solved by introducing 3rd party mappers.
The text was updated successfully, but these errors were encountered:
bookuha
changed the title
Move EntityResponse to the Application/Entity folder
Move *Entity*Response to the Application/*Entity* folder
Oct 3, 2022
For example we have a BookResponse (DTO) in Application.Shared, but It would be way more easier to locate it in the folder along with the classes that use it.
So, it can be moved to the Application/Books folder where it serves as a response for handlers.
But the problem is it references Infrasturcture for mappings methods, and Infrastructure must reference this DTO to make maps, therefore Circular Reference is produced.
The problem is solved by introducing 3rd party mappers.
The text was updated successfully, but these errors were encountered: