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

feat: support modelDir option #42

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

xiaoxiaocoder
Copy link

@xiaoxiaocoder xiaoxiaocoder commented Oct 9, 2020

Checklist
  • npm test passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Description of change
  • add modelDir option to support custom model directory(default: model)
  • add delegate option to avoid confilct with egg-sequelize's delegate

@codecov
Copy link

codecov bot commented Oct 9, 2020

Codecov Report

Merging #42 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #42   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            6         6           
  Lines           63        64    +1     
=========================================
+ Hits            63        64    +1     
Impacted Files Coverage Δ
config/config.default.js 100.00% <ø> (ø)
lib/mongoose.js 100.00% <100.00%> (ø)

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 41c4358...8266514. Read the comment docs.

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

Successfully merging this pull request may close these issues.

None yet

1 participant