FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add register student use case by OctaviPascual · Pull Request #60 · CodelyTV/java-ddd-example · GitHub

/ java-ddd-example Public template

Add register student use case - #60

Draft
OctaviPascual wants to merge 9 commits into
CodelyTV:mainfrom
OctaviPascual:register-student
Draft

Add register student use case#60
OctaviPascual wants to merge 9 commits into
CodelyTV:mainfrom
OctaviPascual:register-student

Conversation

OctaviPascual commented Nov 8, 2020
edited
Loading

Copy link
Copy Markdown

[WIP]
I'm using this branch to implement each of the features of each step.

import java.util.Objects;

public abstract class EmailValueObject {
private static final EmailValidator emailValidator = new EmailValidator();

OctaviPascual Nov 10, 2020
edited
Loading

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I think a better approach would be to create an EmailValidator interface to not contaminate our domain with this dependency, but I tried to do it and I didn't manage to inject the implementation into this abstract class. Is it possible to do it?

OctaviPascual marked this pull request as draft November 11, 2020 16:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL