-
Notifications
You must be signed in to change notification settings - Fork 408
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
Upstream FluffyBox patches #956
Conversation
50f62b8
to
ebde26e
Compare
Thank you for the contribution! Not gonna lie there's lots of changes and it scares me a bit 😅 So I'm gonna ask a few questions before reviewing it.
Again sorry for requesting additional stuff, but the proposed changes are a bit bigger than what we usually get, so I want to make sure it won't break anything unintentionally. |
Thanks for the review.
|
In regard of the failing tests, honestly no idea, locally, they pass for me. Maybe we can investigate this together? Test outputs
|
ebde26e
to
d34462c
Compare
No problem, don't worry I'll take a look into it. I thought maybe it's because of that required manual build step. |
Hi there :) I'm just curious if there are any news on this, as it would mean that I can finally ditch FluffyBox |
26e0940
to
6535284
Compare
At the moment, the test behavior is somehow unexpected: Running the JS-specific tests (e.g. on BackendManager) perfectly works without any error reports, anyway, when running all tests, the majority is failing.
|
- add `BoxCollection` - prepare support for other web backends Fixes: isar#939 Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
6535284
to
e62fc17
Compare
That's very strange.. Let's merge it, and then see if we can find what causes tests to break, maybe it's some sort of dart test runner related issue. |
I think it's related to the way the tests access the |
Could these changes be published to pub.dev? |
Done! |
I think we should've updated the docs before publishing 😕 |
Afaik this patch doesn't changes any exists APIs so existing docs should be fine for new version, and we can document new features. |
- add `BoxCollection` - prepare support for other web backends Fixes: isar#939 Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
Regression was caused in isar#956 (4dbcd76) where `HiveImpl` no longer called `_registerDefaultAdapters`, assuming that it would happen in `init`, which is not necessary for web. Also remove `HiveImpl.debug` and `HiveImpl.test`. `HiveImpl.test` was masking some odd legacy behavior in tests, so this fixes the test. `HiveImpl.debug` is not used anywhere, and its funcationality can be accomplished using `init`
Regression was caused in #956 (4dbcd76) where `HiveImpl` no longer called `_registerDefaultAdapters`, assuming that it would happen in `init`, which is not necessary for web. Also remove `HiveImpl.debug` and `HiveImpl.test`. `HiveImpl.test` was masking some odd legacy behavior in tests, so this fixes the test. `HiveImpl.debug` is not used anywhere, and its funcationality can be accomplished using `init`
Somehow reached at not making this a breaking change...
Fixes: #939