-
Notifications
You must be signed in to change notification settings - Fork 41
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
feat: document publications and remove mongo queries from parameters SOFIE-1183 #1062
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## release51 #1062 +/- ##
=============================================
- Coverage 58.21% 58.13% -0.08%
=============================================
Files 507 507
Lines 81418 81824 +406
Branches 4282 4328 +46
=============================================
+ Hits 47397 47569 +172
- Misses 33963 34205 +242
+ Partials 58 50 -8 ☔ View full report in Codecov by Sentry. |
Julusian
changed the title
Feat/improve publications
feat: document publications and remove mongo queries from parameters
Oct 31, 2023
Base automatically changed from
feat/typed-gateway-publications2
to
release51
November 10, 2023 10:44
Julusian
force-pushed
the
feat/improve-publications
branch
from
November 10, 2023 10:49
02679e8
to
b953121
Compare
Julusian
force-pushed
the
feat/improve-publications
branch
from
November 10, 2023 10:57
b953121
to
e2523c3
Compare
Julusian
changed the title
feat: document publications and remove mongo queries from parameters
feat: document publications and remove mongo queries from parameters SOFIE-1183
Nov 10, 2023
nytamin
approved these changes
Nov 16, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
feature
builds on #1056
The publications exposed over ddp are mostly done by allowing the caller to define the mongo query that will be used.
These have all been replaced to provide a strict set of parameters that can be provided in the publication call.
The aim of this is to make the code more self-documenting on what publications are being run, and make it easier for us to figure review what mongo queries the subscriptions are running, so that they can both be optimised (with indices) and combined where necessary
No attempt has been made to optimise the usages of these publications (except a couple of very simple circumstances).
Further analysis could be done to look into:
Status