Skip to content

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

Open
@alexmarqs

Description

@alexmarqs

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions