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

Replace Cursor#observeChanges calls with MongoDB change streams #1003

Draft
wants to merge 58 commits into
base: main
Choose a base branch
from

:adhesive_bandage: fix(`makeObservedQueryHook`): Move updates to `use…

db10212
Select commit
Loading
Failed to load commit list.
Draft

Replace Cursor#observeChanges calls with MongoDB change streams #1003

:adhesive_bandage: fix(`makeObservedQueryHook`): Move updates to `use…
db10212
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Jul 27, 2024 in 1s

95.94% of diff hit (target 66.63%)

View this Pull Request on Codecov

95.94% of diff hit (target 66.63%)

Annotations

Check warning on line 35 in imports/api/consultations.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

imports/api/consultations.ts#L35

Added line #L35 was not covered by tests

Check warning on line 209 in imports/api/createTagCollection.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

imports/api/createTagCollection.ts#L209

Added line #L209 was not covered by tests

Check warning on line 214 in imports/api/createTagCollection.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

imports/api/createTagCollection.ts#L214

Added line #L214 was not covered by tests

Check warning on line 217 in imports/api/createTagCollection.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

imports/api/createTagCollection.ts#L217

Added line #L217 was not covered by tests

Check warning on line 220 in imports/api/createTagCollection.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

imports/api/createTagCollection.ts#L220

Added line #L220 was not covered by tests

Check warning on line 42 in imports/api/makeFilteredCollection.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

imports/api/makeFilteredCollection.ts#L42

Added line #L42 was not covered by tests

Check warning on line 48 in imports/api/publication/define.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

imports/api/publication/define.ts#L48

Added line #L48 was not covered by tests

Check warning on line 53 in imports/api/publication/define.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

imports/api/publication/define.ts#L53

Added line #L53 was not covered by tests

Check warning on line 18 in imports/api/publication/publishCursors.tests.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

imports/api/publication/publishCursors.tests.ts#L18

Added line #L18 was not covered by tests

Check warning on line 52 in imports/api/publication/publishCursors.tests.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

imports/api/publication/publishCursors.tests.ts#L52

Added line #L52 was not covered by tests

Check warning on line 58 in imports/api/publication/publishCursors.tests.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

imports/api/publication/publishCursors.tests.ts#L58

Added line #L58 was not covered by tests

Check warning on line 64 in imports/api/publication/publishCursors.tests.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

imports/api/publication/publishCursors.tests.ts#L64

Added line #L64 was not covered by tests

Check warning on line 31 in imports/api/publication/publishCursors.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

imports/api/publication/publishCursors.ts#L31

Added line #L31 was not covered by tests

Check warning on line 121 in imports/api/publication/stats/frequencyBySex.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

imports/api/publication/stats/frequencyBySex.ts#L120-L121

Added lines #L120 - L121 were not covered by tests

Check warning on line 41 in imports/api/publication/useSubscription.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

imports/api/publication/useSubscription.ts#L41

Added line #L41 was not covered by tests

Check warning on line 76 in imports/api/query/watch.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

imports/api/query/watch.ts#L76

Added line #L76 was not covered by tests

Check warning on line 103 in imports/api/query/watch.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

imports/api/query/watch.ts#L103

Added line #L103 was not covered by tests

Check warning on line 106 in imports/api/query/watch.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

imports/api/query/watch.ts#L106

Added line #L106 was not covered by tests

Check warning on line 60 in imports/api/stats.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

imports/api/stats.ts#L60

Added line #L60 was not covered by tests