## Goals: - [ ] Get rid of `pkg/validate` package - [ ] Get rid of `graphql/mutation.validator.go` - [ ] Have only valid objects everywhere in code - [ ] Reduce possibility for passing parameters in functions in the wrong order - [ ] Write code a bit faster because of better and faster suggestions from IDE with help of type matching ## AC: **Common:** - [ ] ID - [x] Email https://github.com/holdex/backend/pull/95 - [ ] Slug - [ ] URL **Login account:** - [x] Password https://github.com/holdex/backend/pull/97 - [ ] Session - [ ] Token **User profile:** - [ ] Name - [ ] ShortBio - [ ] Vote (kudos) **Community:** - [ ] Name - [ ] Tagline - [ ] ExternalLinks - [ ] CrosspostTelegramChannels - [ ] WatchOption - [ ] Vote (kudos) **Message:** - [ ] Title - [ ] Body - [ ] MentionedUsers - [ ] Author - [ ] PostedInCommunity - [ ] RepliedToMessage - [ ] WatchOption - [ ] Vote
Goals:
pkg/validatepackagegraphql/mutation.validator.goAC:
Common:
Login account:
User profile:
Community:
Message: