Skip to content

Commit

Permalink
Email verification (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayaanqui authored Apr 22, 2024
1 parent 67432f3 commit 5a71fc4
Show file tree
Hide file tree
Showing 8 changed files with 391 additions and 36 deletions.
224 changes: 213 additions & 11 deletions graph/generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion graph/gmodel/models_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 25 additions & 1 deletion graph/resolver/user.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion graph/user.graphql
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
extend type Mutation {
createAccount(input: CreateAccountInput!): User!
verifyEmail(verificationCode: String!): User!
resendEmailVerificationCode(email: String!): Boolean!
}

extend type Query {
Expand Down Expand Up @@ -33,7 +35,7 @@ type User {
bio: String
active: Boolean!
authPlatform: AuthPlatformType!
authStateId: ID! @goTag(key: "alias", value: "auth_state.id")
authStateId: ID @goTag(key: "alias", value: "auth_state.id")
}

type UserShallow {
Expand Down
Loading

0 comments on commit 5a71fc4

Please sign in to comment.