- 
                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 8 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 <<[email protected]>> | ||
| - Dan Aprahamian <<[email protected]>> | ||
| - Katherine Walker <<[email protected]>> | ||
| - 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 <<[email protected]>> | ||
| - Eric Adum <<[email protected]>> | ||
| - Durran Jordan <<[email protected]>> | ||
| - Daria Pardue <<[email protected]>> | ||
| 
     | 
||
| ## 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.