Skip to content
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

Type errorCode as possibly undefined #953

Merged
merged 2 commits into from
Oct 11, 2023
Merged

Type errorCode as possibly undefined #953

merged 2 commits into from
Oct 11, 2023

Conversation

frederikprijck
Copy link
Member

@frederikprijck frederikprijck commented Oct 10, 2023

Changes

There are situations where errorCode will not be defined, so we need to support the case where it will be undefined.

Note that this can potentially break existing users, but it would be a compile time breaking change, and it actually rectifies incorrect behavior and won't introduce run-time issues. So we should be okay to release this in a patch version.

References

Fixes #951

Checklist

@frederikprijck frederikprijck requested a review from a team as a code owner October 10, 2023 15:39
@frederikprijck frederikprijck changed the title Type errorCode as possible undefined Type errorCode as possibly undefined Oct 10, 2023
@frederikprijck frederikprijck enabled auto-merge (squash) October 10, 2023 15:56
@frederikprijck frederikprijck merged commit 4bcb37e into master Oct 11, 2023
8 checks passed
@frederikprijck frederikprijck deleted the fix/951 branch October 11, 2023 10:23
@frederikprijck frederikprijck mentioned this pull request Oct 25, 2023
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.

ManagementApiError.errorCode is undefined when trying to update the password of a user
2 participants