Skip to content

fix: provide fallback backend manager#968

Merged
TheOneWithTheBraid merged 1 commit into
masterfrom
braid/backend-manager-fallback
May 18, 2022
Merged

fix: provide fallback backend manager#968
TheOneWithTheBraid merged 1 commit into
masterfrom
braid/backend-manager-fallback

Conversation

@TheOneWithTheBraid

Copy link
Copy Markdown
  • remove need for manual Hive.init() call
  • provide default backend manager
  • fix most tests

Fixes: #967

Signed-off-by: TheOneWithTheBraid the-one@with-the-braid.cf

@themisir themisir left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but tests seems to be failing (seems like there's missing adapter)

Comment thread hive/test/integration/integration.dart Outdated
- remove need for manual `Hive.init()` call
- provide default backend manager
- fix most tests

Fixes: #967

Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
@TheOneWithTheBraid TheOneWithTheBraid force-pushed the braid/backend-manager-fallback branch from 6205d64 to 19f8f65 Compare May 18, 2022 10:23
@TheOneWithTheBraid TheOneWithTheBraid merged commit bb23e21 into master May 18, 2022
@TheOneWithTheBraid TheOneWithTheBraid deleted the braid/backend-manager-fallback branch May 18, 2022 10:32
@TheOneWithTheBraid

Copy link
Copy Markdown
Author

@themisir We should create a release of both Hive and Hive Flutter now.

@themisir

Copy link
Copy Markdown
Contributor

Not really, we didn't changed hive_flutter, I'll just retract previous hive version so hive_flutter will not resolve it next time

@TheOneWithTheBraid

Copy link
Copy Markdown
Author

I opened a corresponding PR. It's not important anymore, as this PR here removed the need for Hive.init on web but still, as a future prospect of web workers, I exposed the backend preference to Hive Flutter.

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.

Web Unexpected null value

2 participants