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

validateSelf() method of abstract SelfValidating.java never used #2

Open
alexmarqs opened this issue Jul 17, 2020 · 1 comment
Open

Comments

@alexmarqs
Copy link

alexmarqs commented Jul 17, 2020

Hi @soyjuanmalopez, first of all, thanks for your great article at https://medium.com/swlh/clean-architecture-java-spring-fea51e26e00 about clean architecture!

When checking the source code for your example, I think you are not using the validateSelf() method of your abstract SelfValidating.java class. If you want to use it in the Category.java class, you need to directly invoke the extended validation method in your own constructor ((...) this.validateSelf()), for example.

Kind regards!

@soyjuanmalopez
Copy link
Owner

hi alex, thx for the comment, y fixed this issue in the next commit.

regards

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