Skip to content

Commit

Permalink
refactor handlePutAccount
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
majewsky committed Mar 26, 2024
1 parent 05a4a19 commit 8f40ae1
Show file tree
Hide file tree
Showing 6 changed files with 352 additions and 277 deletions.

0 comments on commit 8f40ae1

Please sign in to comment.