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

[Flutter] ApiExceptionのパターンマッチのリファクタリング #20

Open
LeoAndo opened this issue Feb 10, 2023 · 0 comments
Open
Assignees
Labels

Comments

@LeoAndo
Copy link
Owner

LeoAndo commented Feb 10, 2023

rrousselGit/freezed#464 (comment)
上記の通り、freezedは継承が使えないかつ、今後もその予定がないため flutter SDK側でシールドクラスが利用可能になったら、
enumのApiExceptionTypeを削除し、ApiExceptionをsealedにしてパターンマッチングできるようにする。

LeoAndo/development-conference-memo#253 (comment)

@LeoAndo LeoAndo changed the title ApiExceptionのパターンマッチのリファクタリング [Flutter] ApiExceptionのパターンマッチのリファクタリング Feb 11, 2023
@LeoAndo LeoAndo self-assigned this Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

1 participant