Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Refactor PreferenceService and SecureStorageService #936

Merged
merged 4 commits into from
Mar 28, 2022

Conversation

cocoa-dev003
Copy link
Contributor

Issue 番号 / Issue ID

目的 / Purpose

  • IPreferenceServiceとSecureStorageServiceのSet/Getは型引数を設定できるようになっている。
  • その実装を見ると、Setでは設定する値の型に応じて内部処理を切り分ける形になっている。
    基本的に値にはどのような型でも設定でき、対応しない型の場合は何もしない(エラーは記録する)と言うことをしているので、型を間違えたときのエラーがビルド時に発見できないため、対応する型ごとにGetter/Setterを定義する。

変更内容 / Changes

破壊的変更をもたらしますか / Does this introduce a breaking change?

[ ] Yes
[ ] No

Pull Request の種類 / Pull Request type

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

確認事項 / What to check

  • [ ]

その他 / Other information


Internal IDs:

  • NFR 4009

@cocoa-dev003 cocoa-dev003 self-assigned this Mar 25, 2022
@cocoa-dev003 cocoa-dev003 requested review from a user March 25, 2022 02:52
@cocoa-dev003 cocoa-dev003 merged commit 8e1505b into develop Mar 28, 2022
@cocoa-dev003 cocoa-dev003 deleted the feature/refactor-IPreferencesService branch March 28, 2022 05:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IPreferencesServiceの取り扱う型を厳密に扱う
1 participant