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 SignIn method #489

Merged
merged 8 commits into from
Jan 30, 2022
Merged

Fix SignIn method #489

merged 8 commits into from
Jan 30, 2022

Conversation

bannzai
Copy link
Owner

@bannzai bannzai commented Jan 30, 2022

Abstract

  • 2重でSignInを叩く可能性を減らす
  • 本来であればUserがいて欲しい場面であれば、確実にキャッシュのデータを引くようにする

Why

  • 2重でSignInを叩かれる可能性を減らす
  • あと初期のコードでCachedUserを手に入れる場合とSignInをするコードをまとめて一緒くたに実行していたが、わかりづらいのでやめる

Links

Checked

  • Analyticsのログを入れたか
  • 境界値に対してのUnitTestを書いた
  • パターン分岐が発生するWidgetに対してWidgetTestを書いた
  • リリースノートを追加した

@bannzai bannzai marked this pull request as ready for review January 30, 2022 08:03
@bannzai bannzai merged commit f57051d into main Jan 30, 2022
@bannzai bannzai deleted the fix/function/signin branch January 30, 2022 08:04
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.

1 participant