Skip to content

refactor(admin): refactor projects & users value objects (DEV-240) - #1976

Merged
mpro7 merged 22 commits into
mainfrom
wip/DEV-240
Jan 14, 2022
Merged

mpro7 merged 22 commits into
mainfrom
wip/DEV-240

Conversation

@mpro7

@mpro7 mpro7 commented Jan 6, 2022

Copy link
Copy Markdown
Contributor

resolves DEV-240

@mpro7 mpro7 self-assigned this Jan 6, 2022
@mpro7
mpro7 requested a review from subotic as a code owner January 6, 2022 09:36
@mpro7
mpro7 marked this pull request as draft January 6, 2022 09:36
@mpro7 mpro7 changed the title refactor(userADM): user create payload refactor(userADM/projectADM): refactor value objects Jan 12, 2022
@mpro7
mpro7 marked this pull request as ready for review January 12, 2022 16:59
@mpro7 mpro7 changed the title refactor(userADM/projectADM): refactor value objects refactor(admin): refactor projects & users value objects (DEV-240) Jan 12, 2022

@irinaschubert irinaschubert left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I added some suggestions, nothing very important (and I've always only added it the first time I saw something, so you need to check for other occurrences if you agree with the suggestion).
Something that is not clear to me: for value objects, why do we need 2 make() methods again?

Comment thread webapi/src/main/scala/org/knora/webapi/routing/admin/UsersRouteADM.scala Outdated

@BalduinLandolt BalduinLandolt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good over all. I added some minor things. And I don't get the validation.success(None) part.

@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 14 Code Smells

No Coverage information No Coverage information
6.7% 6.7% Duplication

@mpro7
mpro7 merged commit 563d252 into main Jan 14, 2022
@mpro7
mpro7 deleted the wip/DEV-240 branch January 14, 2022 13:32
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.

4 participants