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

How to use ValidationNotificationHandler #50

Open
LearningProcesss opened this issue Feb 2, 2023 · 1 comment
Open

How to use ValidationNotificationHandler #50

LearningProcesss opened this issue Feb 2, 2023 · 1 comment

Comments

@LearningProcesss
Copy link

LearningProcesss commented Feb 2, 2023

Hi,
while reading the book i stumbled around ValidationNotificationHandler.
Something that is missing both book and repo is the actual implementation of ValidationNotificationHandler.
What should be done inside handleError(String aNotificationMessage) ?

Thank you all.

@VaughnVernon
Copy link
Owner

@LearningProcesss This is used by a Mediator of validation behavior. The client of the validator passes in an object that implements the interface, and the validator dispatches to the ValidationNotificationHandler on every validation error. I don't recall if the current examples use this at all, but it should be simple enough to clone the repository and search of the four projects.

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