-
Notifications
You must be signed in to change notification settings - Fork 203
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
Support custom error types #583
Conversation
@digitalbuddha We would need to fix tests obviously but I wanted to get something up first for discussion. Adding a generic to |
@matt-ramotar thanks for bringing up implementation ideas so quickly. Would it be possible for the
|
@borsini Seems fine to me 👍🏽 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm but we should add a test ideally :)
Hello @matt-ramotar, I checked how this PR was doing and came up with an idea. I created this little draft PR to illustrate my thinking. What if, instead of having a sealed hierarchy, Store use only one generic Let me know what you think 😄 |
Sorry to be slow @borsini, will try to get this merged by end of week |
No worries @matt-ramotar this is open source 🙂 |
Signed-off-by: mramotar <mramotar@dropbox.com>
https://kotlinlang.slack.com/archives/C06007Z01HU/p1699457424194509