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

Support RxDB 12 #54

Merged
merged 5 commits into from
Jun 11, 2022
Merged

Support RxDB 12 #54

merged 5 commits into from
Jun 11, 2022

Conversation

cvara
Copy link
Owner

@cvara cvara commented Jun 11, 2022

Minor fixes that enable rxdb-hooks to work with rxdb@12.x. Fixes are backwards compatible with older rxdb versions.

  • drop useRxDocument remove useRxDocument's reliance on chained queries
  • fix observeNewCollections plugin compatibility issues
  • use RxDBQueryBuilderPlugin for testing

Closes #52.

@cvara cvara added the enhancement New feature or request label Jun 11, 2022
@codecov
Copy link

codecov bot commented Jun 11, 2022

Codecov Report

Merging #54 (c2af67d) into master (b4b0d44) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #54   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            8         8           
  Lines          160       162    +2     
  Branches        37        37           
=========================================
+ Hits           160       162    +2     
Impacted Files Coverage Δ
src/plugins.ts 100.00% <ø> (ø)
src/useRxDocument.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b4b0d44...c2af67d. Read the comment docs.

@cvara cvara merged commit 5db292d into master Jun 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support RxDB 12
1 participant