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

Include missing MongoDB driver types in production build #186

Merged
merged 1 commit into from
Oct 14, 2021

Conversation

pkosiec
Copy link
Owner

@pkosiec pkosiec commented Oct 14, 2021

As Mongo Seeding TS types depends on MongoDB driver v3 ones (from @types/mongodb), they should be included in the production build to avoid compilation errors when using Mongo Seeding with MongoDB v4 driver. See the discussion in #182.

Related issues

Resolves #182

@pkosiec pkosiec added 🐛 bug Label used for changelog generation from PRs area/core Refers to Mongo Seeding library labels Oct 14, 2021
@pkosiec pkosiec force-pushed the fix-missing-mongodb-types branch from 0e754e3 to 1d8041b Compare October 14, 2021 20:30
@pkosiec pkosiec changed the title Fix missing mongodb types Include missing MongoDB driver types in production build Oct 14, 2021
@codecov
Copy link

codecov bot commented Oct 14, 2021

Codecov Report

Merging #186 (1d8041b) into main (3f90fb3) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #186   +/-   ##
=======================================
  Coverage   93.50%   93.50%           
=======================================
  Files          18       18           
  Lines         277      277           
  Branches       51       51           
=======================================
  Hits          259      259           
  Misses          7        7           
  Partials       11       11           
Flag Coverage Δ
cli 93.75% <ø> (ø)
core 93.42% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


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 3f90fb3...1d8041b. Read the comment docs.

@pkosiec pkosiec merged commit a0a4698 into main Oct 14, 2021
@pkosiec pkosiec deleted the fix-missing-mongodb-types branch October 14, 2021 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core Refers to Mongo Seeding library 🐛 bug Label used for changelog generation from PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TS Compilation errors when using Mongo Seeding along MongoDB driver v4
1 participant