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

Fix credential provider enum #2988

Merged
merged 1 commit into from Aug 8, 2022
Merged

Fix credential provider enum #2988

merged 1 commit into from Aug 8, 2022

Conversation

nirinchev
Copy link
Member

@nirinchev nirinchev commented Aug 8, 2022

Description

Core changed the enum values, resulting in the wrong provider being used when logging in.

Fixes #2987

TODO

  • Changelog entry
  • Tests (if applicable)

@cla-bot cla-bot bot added the cla: yes label Aug 8, 2022
@nirinchev nirinchev self-assigned this Aug 8, 2022
{
return Equals(obj as User);
}
public override bool Equals(object obj) => Equals(obj as User);

Check warning

Code scanning / CodeQL

Equals should not apply "as"

User.Equals(object) should not use "as" on its parameter, as it will not work properly for subclasses of User.
@coveralls
Copy link

Pull Request Test Coverage Report for Build 2817236971

  • 5 of 7 (71.43%) changed or added relevant lines in 2 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+7.5%) to 83.739%

Changes Missing Coverage Covered Lines Changed/Added Lines %
Realm/Realm/Sync/User.cs 4 6 66.67%
Files with Coverage Reduction New Missed Lines %
Realm/Realm/Extensions/TaskExtensions.cs 1 87.5%
Totals Coverage Status
Change from base Build 2816629602: 7.5%
Covered Lines: 5881
Relevant Lines: 6905

💛 - Coveralls

@nirinchev nirinchev merged commit d5b334a into main Aug 8, 2022
@nirinchev nirinchev deleted the ni/anon-users branch August 8, 2022 12:50
LaPeste added a commit that referenced this pull request Aug 22, 2022
author Andrea Catalini <ac_workrelated@tutanota.com> 1660922097 +0200
committer Andrea Catalini <ac_workrelated@tutanota.com> 1660922125 +0200

Sets realm-core to the correct version

Fixes testing naming for cleanup in main.yml

Test fix

Removes unnecessary using

Fix Android CI error (#2980)

Update to latest Core (#2981)

Add Changelog entries from the core upgrade (#2983)

Prepare for 10.15.0 (#2984)

Co-authored-by: nirinchev <nirinchev@users.noreply.github.com>

Prepare for vNext (#2985)

Co-authored-by: nirinchev <nirinchev@users.noreply.github.com>

Update studio compatibility in changelog

Fix credential provider enum (#2988)

Prepare for 10.15.1 (#2989)

Co-authored-by: nirinchev <nirinchev@users.noreply.github.com>

Prepare for vNext (#2990)

Co-authored-by: nirinchev <nirinchev@users.noreply.github.com>

Fixes an issue after merging main

Renames strategies as agreed on all SDKs

 More of the same -> better docs for FLX-S unsupported modes - 2

Facepalm deletion

Corrects a few typos in comments

Addresses PR feedback

Adds a test to ensure obsolete strategy still works

More PR feedback

Removes linter errors

Removes build warnings

Removes more style warnings
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
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.

[Bug]: Error Login after update to 10.15.0
2 participants