Skip to content

fix interface AuthError #5609

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

PabloLION
Copy link
Contributor

Extend interface FirebaseError to AuthError with correct customData
Change tenantid to tenantId, other tenantId are formatted like this, better than smallcase since ID is a "word"

Discussion

moved from #5600
this closes #5599

More TODOs

Testing

I don't know how to test for this specific issue.

API Changes

NONE

change interface AuthError to correct structure
@changeset-bot
Copy link

changeset-bot bot commented Oct 13, 2021

⚠️ No Changeset found

Latest commit: f1939ef

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@google-cla google-cla bot added the cla: yes label Oct 13, 2021
@sam-gc
Copy link
Contributor

sam-gc commented Oct 13, 2021

I'm not going to bother running the workflow on this since we know it's failing in it's current form. @Pablion one small change then we can merge this. Thanks again!

@PabloLION PabloLION requested a review from sam-gc October 14, 2021 03:12
@sam-gc sam-gc merged commit 39dd81f into firebase:auth_error_type_fix Oct 14, 2021
sam-gc added a commit that referenced this pull request Oct 19, 2021
…urrent API standard (#5616)

* fix interface AuthError (#5609)

* fix interface AuthError

change interface AuthError to correct structure

* remove `declare`

* Refactor MFA error to properly follow the new format

* Add changeset

* Add doc comment to MultiFactorError.customData

* Apply suggestions from code review

Co-authored-by: Kevin Cheung <[email protected]>

* Update changeset to patch

Co-authored-by: Pablion <[email protected]>
Co-authored-by: Kevin Cheung <[email protected]>
@PabloLION PabloLION deleted the pablion-interface-AuthError branch October 19, 2021 19:49
@firebase firebase locked and limited conversation to collaborators Nov 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants