Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specification Pattern demo #29

Open
Veitor opened this issue Apr 10, 2023 · 1 comment
Open

Specification Pattern demo #29

Veitor opened this issue Apr 10, 2023 · 1 comment

Comments

@Veitor
Copy link

Veitor commented Apr 10, 2023

I am curious about how to combine the Specification Pattern with the Repository Pattern. I hope the author can show a demo in the future.

@christophknabe
Copy link
Owner

christophknabe commented Apr 18, 2023

Thanks for the proposal. The evident cadidates for this pattern are the methods findYoungClients and findRichClients in the class domain.BankService.
Only I fear the introduction of an additional pattern would complicate this example project.
In any case I am now too occupied to think about it profoundly.
But feel free to make a pull request with a solution proposal.
Literature: https://www.martinfowler.com/apsupp/spec.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants