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

[Fix] import standart\jsonArray files, alert on successful import #789

Merged
merged 2 commits into from
Oct 26, 2021

Conversation

RainGrid
Copy link
Contributor

@RainGrid RainGrid commented Oct 19, 2021

Import fixed, EJSON provides correct ObjectId, Date and other entities processing. Added alert with inserted documents number on success.

Based on #761, #653, maybe closes other import related issues.

Happy Hacktoberfest!

…er objects processing, alert on successful import
@dozoisch
Copy link
Collaborator

Happy Hack! Thank you for your contribution :)

@@ -3,6 +3,7 @@
const _ = require('lodash');
const Bluebird = require('bluebird');
const os = require('os');
const EJSON = require('mongodb-extended-json');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this package is no longer maintained

https://www.npmjs.com/package/mongodb-extended-json

and that it's now included in the BSON package directly as of version 4, which is the version we're using. Can you take a look at that?

Copy link
Contributor Author

@RainGrid RainGrid Oct 20, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've updated the import, still works fine.

@dozoisch dozoisch merged commit 74468b3 into mongo-express:master Oct 26, 2021
@qasimjaved
Copy link

Hi @dozoisch @RainGrid is there any docker image available with that mongo-express fix?

@rtritto
Copy link
Member

rtritto commented Mar 1, 2022

No, lastest version is 1.0.0-alpha.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants