Greenruhm Connect is your white label, custom-branded connection to the music metaverse. It allows you to provide music NFT services inside your app with your branding.
MIT License
1
stars
0
forks
source link
Change `signUpErrors.InvalidUserName` to `signUpErrors.InvalidUsername` #63
While creating the named signUpErrors error causes, I got a little too tab happy with GitHub Copilot and did not notice that I created the named InvalidUserName error cause where the "N" in username is capitalized. This named error cause does not follow the convention of other named error causes involving the username value like UsernameIsUnavailable or UsernameIsRequired, where the "n" in username is lowercase.
Update all references of signUpErrors.InvalidUserName to signUpErrors.InvalidUsername for the following:
This update will need to be performed in connect first, then we'll need to have a new public release of connect in order for this named error cause to be properly referenced for the updates in greenruhm-web.
Description
While creating the named
signUpErrors
error causes, I got a little too tab happy with GitHub Copilot and did not notice that I created the namedInvalidUserName
error cause where the "N" in username is capitalized. This named error cause does not follow the convention of other named error causes involving the username value likeUsernameIsUnavailable
orUsernameIsRequired
, where the "n" in username is lowercase.Update all references of
signUpErrors.InvalidUserName
tosignUpErrors.InvalidUsername
for the following:src/features/user/sign-up-error-causes.js
(line 20)src/example-components/sign-up-connect/sign-up-controller-component.js
(line 90)src/features/account-setup/api/check-existing-accounts-integration-test.js
(line 173)src/features/account-setup/api/create-account-integration-test.js
(line 82)src/features/account-setup/api/check-existing-accounts.js
(lines 39 & 42)This update will need to be performed in
connect
first, then we'll need to have a new public release ofconnect
in order for this named error cause to be properly referenced for the updates ingreenruhm-web
.