-
Notifications
You must be signed in to change notification settings - Fork 1.8k
feat(NODE-3115): Add generic parameterization #2767
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
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
b701292
feat(NODE-3115): Add generic parameterization
nbbeeken 1f193e3
fix: move tests to another directory to prevent mocha discovery and r…
nbbeeken 31526e0
fix: linter issues
nbbeeken 432b98e
fix: tsd import in js
nbbeeken 7f5340d
test: show internal type usage with additional tests
nbbeeken 2136bdf
refactor: use Filter terminology
nbbeeken 4cf9227
fix: add @dariakp to maintainers
nbbeeken b9f5da6
chore: add ticket for UpdateQuery todo
nbbeeken 48802b3
respond to comments
nbbeeken deb190b
Merge branch '4.0' into NODE-3115/ts-generics
nbbeeken b953d5f
fix: add overriding parameters to cursor methods and improved change …
nbbeeken 7dad9c3
fix: Collection defaults to Document type for schema
nbbeeken 1a4d38d
chore: remove unused type declaration
nbbeeken 5bfba6a
chore: remove unused import
nbbeeken 19f640f
fix: ticket numbers, test for exclusive union
nbbeeken 309993b
fix: type assertions and generics in change_stream
nbbeeken File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,6 +55,8 @@ yarn.lock | |
lib/ | ||
*.tgz | ||
*.d.ts | ||
# type definition tests | ||
!test/types | ||
|
||
.vscode | ||
output |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,101 @@ | ||
# Contributors | ||
|
||
- Christian Kvalheim | ||
- Matt Broadstone <<mbroadst@mongodb.com>> | ||
- Dan Aprahamian <<daniel.aprahamian@mongodb.com>> | ||
- Katherine Walker <<katherine.walker@mongodb.com>> | ||
- Aaron Heckmann | ||
- Christoph Pojer | ||
- Pau Ramon Revilla | ||
- Nathan White | ||
- Emmerman | ||
- Seth LaForge | ||
- Boris Filipov | ||
- Stefan Schärmeli | ||
- Tedde Lundgren | ||
- renctan | ||
- Sergey Ukustov | ||
- Ciaran Jessup | ||
- kuno | ||
- srimonti | ||
- Erik Abele | ||
- Pratik Daga | ||
- Slobodan Utvic | ||
- Kristina Chodorow | ||
- Yonathan Randolph | ||
- Brian Noguchi | ||
- Sam Epstein | ||
- James Harrison Fisher | ||
- Vladimir Dronnikov | ||
- Ben Hockey | ||
- Henrik Johansson | ||
- Simon Weare | ||
- Alex Gorbatchev | ||
- Shimon Doodkin | ||
- Kyle Mueller | ||
- Eran Hammer-Lahav | ||
- Marcin Ciszak | ||
- François de Metz | ||
- Vinay Pulim | ||
- nstielau | ||
- Adam Wiggins | ||
- entrinzikyl | ||
- Jeremy Selier | ||
- Ian Millington | ||
- Public Keating | ||
- andrewjstone | ||
- Christopher Stott | ||
- Corey Jewett | ||
- brettkiefer | ||
- Rob Holland | ||
- Senmiao Liu | ||
- heroic | ||
- gitfy | ||
- Christian Kvalheim | ||
- Matt Broadstone | ||
- Dan Aprahamian | ||
- Katherine Walker | ||
- Aaron Heckmann | ||
- Christoph Pojer | ||
- Pau Ramon Revilla | ||
- Nathan White | ||
- Emmerman | ||
- Seth LaForge | ||
- Boris Filipov | ||
- Stefan Schärmeli | ||
- Tedde Lundgren | ||
- renctan | ||
- Sergey Ukustov | ||
- Ciaran Jessup | ||
- kuno | ||
- srimonti | ||
- Erik Abele | ||
- Pratik Daga | ||
- Slobodan Utvic | ||
- Kristina Chodorow | ||
- Yonathan Randolph | ||
- Brian Noguchi | ||
- Sam Epstein | ||
- James Harrison Fisher | ||
- Vladimir Dronnikov | ||
- Ben Hockey | ||
- Henrik Johansson | ||
- Simon Weare | ||
- Alex Gorbatchev | ||
- Shimon Doodkin | ||
- Kyle Mueller | ||
- Eran Hammer-Lahav | ||
- Marcin Ciszak | ||
- François de Metz | ||
- Vinay Pulim | ||
- nstielau | ||
- Adam Wiggins | ||
- entrinzikyl | ||
- Jeremy Selier | ||
- Ian Millington | ||
- Public Keating | ||
- andrewjstone | ||
- Christopher Stott | ||
- Corey Jewett | ||
- brettkiefer | ||
- Rob Holland | ||
- Senmiao Liu | ||
- heroic | ||
- gitfy | ||
|
||
## Maintainers | ||
|
||
- Neal Beeken <<neal.beeken@mongodb.com>> | ||
- Eric Adum <<eric.adum@mongodb.com>> | ||
- Durran Jordan <<durran@gmail.com>> | ||
- Daria Pardue <<daria.pardue@mongodb.com>> | ||
|
||
## Community Types | ||
|
||
This release of the driver draws inspiration from the community contributed types to reduce upgrade friction as much as possible. | ||
We thank those listed below who contributed to the open source types, still available at `@types/mongodb` for versions prior to v4. | ||
|
||
**Thank you!** | ||
|
||
- Federico Caselli <https://github.com/CaselIT> | ||
- Alan Marcell <https://github.com/alanmarcell> | ||
- Gaurav Lahoti <https://github.com/dante-101> | ||
- Mariano Cortesi <https://github.com/mcortesi> | ||
- Enrico Picci <https://github.com/EnricoPicci> | ||
- Alexander Christie <https://github.com/AJCStriker> | ||
- Julien Chaumond <https://github.com/julien-c> | ||
- Dan Aprahamian <https://github.com/daprahamian> | ||
- Denys Bushulyak <https://github.com/denys-bushulyak> | ||
- Bastien Arata <https://github.com/BastienAr> | ||
- Wan Bachtiar <https://github.com/sindbach> | ||
- Geraldine Lemeur <https://github.com/geraldinelemeur> | ||
- Dominik Heigl <https://github.com/various89> | ||
- Angela-1 <https://github.com/angela-1> | ||
- Hector Ribes <https://github.com/hector7> | ||
- Florian Richter <https://github.com/floric> | ||
- Erik Christensen <https://github.com/erikc5000> | ||
- Nick Zahn <https://github.com/Manc> | ||
- Jarom Loveridge <https://github.com/jloveridge> | ||
- Luis Pais <https://github.com/ranguna> | ||
- Hossein Saniei <https://github.com/HosseinAgha> | ||
- Alberto Silva <https://github.com/albertossilva> | ||
- Piotr Błażejewicz <https://github.com/peterblazejewicz> | ||
- Linus Unnebäck <https://github.com/LinusU> | ||
- Richard Bateman <https://github.com/taxilian> | ||
- Igor Strebezhev <https://github.com/xamgore> | ||
- Valentin Agachi <https://github.com/avaly> | ||
- HitkoDev <https://github.com/HitkoDev> | ||
- TJT <https://github.com/Celend> | ||
- Julien TASSIN <https://github.com/jtassin> | ||
- Anna Henningsen <https://github.com/addaleax> | ||
- Emmanuel Gautier <https://github.com/emmanuelgautier> | ||
- Wyatt Johnson <https://github.com/wyattjoh> |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.