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

refactor handlePutAccount #365

Merged
merged 1 commit into from Mar 26, 2024
Merged

refactor handlePutAccount #365

merged 1 commit into from Mar 26, 2024

Conversation

majewsky
Copy link
Contributor

  • load originalAccount very early to remove the distinction between early and late validations
  • move more validation code to live in the respective types (esp. ReplicationPolicy and RBACPolicy)
  • have less code in the update phase for existing accounts

- load `originalAccount` very early to remove the distinction between
  early and late validations
- move more validation code to live in the respective types (esp.
  ReplicationPolicy and RBACPolicy)
- have less code in the update phase for existing accounts
@coveralls
Copy link

Coverage Status

coverage: 80.659% (+0.06%) from 80.596%
when pulling 8f40ae1 on refactor-put-account
into 05a4a19 on master.

@SuperSandro2000 SuperSandro2000 merged commit 0c7404b into master Mar 26, 2024
7 of 8 checks passed
@majewsky majewsky deleted the refactor-put-account branch March 26, 2024 15:51
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.

None yet

3 participants