Skip to content

Comments

Improve FailureHint.Reason detection#114

Merged
wiverson merged 1 commit intosupabase-community:masterfrom
AntonEriksson978:add-failure-hint
Dec 4, 2025
Merged

Improve FailureHint.Reason detection#114
wiverson merged 1 commit intosupabase-community:masterfrom
AntonEriksson978:add-failure-hint

Conversation

@AntonEriksson978
Copy link
Contributor

What kind of change does this PR introduce?

This PR detects failure hint for http response:{"code":422,"error_code":"email_exists","msg":"A user with this email address has already been registered"} as UserAlreadyRegistered

It cleans up some duplicate code as well.

What is the current behavior?

GoTrueException Reason is null

@wiverson wiverson merged commit e136a55 into supabase-community:master Dec 4, 2025
1 check passed
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.

2 participants