perak / extract-mongo-schema

Extract schema from Mongo database, including foreign keys
71 stars 22 forks source link

Improvements #11

Closed novokhatskyioleksii closed 4 years ago

novokhatskyioleksii commented 4 years ago
  1. eslint added
  2. removed dependencies (replace-ext, wait.for) - native promises used instead
  3. updated mongodb version
  4. Object.isValid() check added
  5. cache relations in findRelatedCollection added + projection

PS. Hope this PR will solve this issue https://github.com/perak/extract-mongo-schema/issues/5 PSS. If I'll have time (it's rare case) I can probably add some tests and this issue is quite interesting for me too https://github.com/perak/extract-mongo-schema/issues/2

perak commented 4 years ago

@novokhatskyioleksii Merged. Thank you!