Skip to content

Update User Password Union Introduction #1794

Merged
nsdeschenes merged 8 commits into
masterfrom
api-create-update-user-password-union
Mar 9, 2021
Merged

Update User Password Union Introduction #1794
nsdeschenes merged 8 commits into
masterfrom
api-create-update-user-password-union

Conversation

@nsdeschenes

Copy link
Copy Markdown
Contributor

Union introduction for handling soft errors when users attempt to update their password with the updateUserPassword mutation.

Mutation Example:

mutation {
  updateUserPassword(
    input: {
      currentPassword: ""
      updatedPassword: ""
      updatedPasswordConfirm: ""
    }
  ) {
    result {
      ... on UpdateUserPasswordResultType {
        status
      }
      ... on UpdateUserPasswordError {
        code
        description
      }
    }
  }
}

@nsdeschenes nsdeschenes force-pushed the api-create-update-user-password-union branch from 730c950 to 1f9164e Compare March 5, 2021 14:24
Comment thread frontend/src/EditableUserPassword.js Outdated
Comment thread frontend/src/EditableUserPassword.js Outdated
@nsdeschenes nsdeschenes requested a review from FestiveKyle March 8, 2021 12:35
@nsdeschenes nsdeschenes force-pushed the api-create-update-user-password-union branch from a776197 to 05b3602 Compare March 8, 2021 14:22
@nsdeschenes nsdeschenes force-pushed the api-create-update-user-password-union branch from 05b3602 to 563710d Compare March 9, 2021 12:48
@nsdeschenes nsdeschenes merged commit 94d07a8 into master Mar 9, 2021
@nsdeschenes nsdeschenes deleted the api-create-update-user-password-union branch March 9, 2021 13:20
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.

5 participants