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
refactor(v3): finish user slice (DEV-671) #2078
Conversation
dsp-user/core/src/test/scala/dsp/user/sharedtestdata/SharedTestData.scala
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Over all, looks good, thanks!
Some things I commented on:
- various cosmetic/code style things... feel free to ignore
- I think in the UserDomainSpec you can simplify the tests by not wrapping everything into a for-comprehension and into ZIOs. Those tests should not need this.
- Typo in PR title scope. Please fix :)
dsp-user/handler/src/main/scala/dsp/user/handler/UserHandler.scala
Outdated
Show resolved
Hide resolved
dsp-user/handler/src/test/scala/dsp/user/handler/UserHandlerSpec.scala
Outdated
Show resolved
Hide resolved
dsp-user/repo/src/test/scala/dsp/user/repo/impl/UserRepoImplSpec.scala
Outdated
Show resolved
Hide resolved
darn... you already fixed thy typo in the PR title... ignore that bullet point then! ^^ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but there are few things you could improve, see comments.
dsp-user/core/src/test/scala/dsp/user/domain/UserDomainSpec.scala
Outdated
Show resolved
Hide resolved
dsp-user/handler/src/main/scala/dsp/user/handler/UserHandler.scala
Outdated
Show resolved
Hide resolved
dsp-user/core/src/test/scala/dsp/user/domain/UserDomainSpec.scala
Outdated
Show resolved
Hide resolved
dsp-user/core/src/test/scala/dsp/user/sharedtestdata/SharedTestData.scala
Show resolved
Hide resolved
Kudos, SonarCloud Quality Gate passed!
|
Resolves DEV-671
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information