web-budget / back-end

Back-end application for webBudget
Apache License 2.0
6 stars 5 forks source link

Improve toSpecification method #36

Closed arthurgregorio closed 1 year ago

arthurgregorio commented 1 year ago

The toSpecification method in the filter DTO's is not good, it is using some parts of the infrastructure layer and those classes used there can be hidden by the repository since it should provide support for other classes that want's to query domain objects/entities

We should move it from there and put in a better place to have a good encapsulation of this query behavior.