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(leoric): keep multiple datasources from conflicting base model #4192

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

cyjake
Copy link
Contributor

@cyjake cyjake commented Nov 18, 2024

Checklist
  • npm test passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)
  • leoric
Description of change
  • the base model of leoric (namely the Bone class) might be polluted if multiple datasources were configured. this pr fixes this issue.

@codecov-commenter
Copy link

codecov-commenter commented Nov 18, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.21%. Comparing base (a3ca53b) to head (34b160b).
Report is 469 commits behind head on main.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4192      +/-   ##
==========================================
+ Coverage   84.55%   85.21%   +0.66%     
==========================================
  Files         491      519      +28     
  Lines       46778    50103    +3325     
  Branches     5601     5942     +341     
==========================================
+ Hits        39551    42693    +3142     
- Misses       7191     7381     +190     
+ Partials       36       29       -7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@czy88840616 czy88840616 added the pr: bug fix This PR fixes a bug in a past release. label Nov 18, 2024
@cyjake cyjake force-pushed the fix-leoric-mutli-datasource branch from eb8b1ce to 34b160b Compare November 18, 2024 10:44
@czy88840616 czy88840616 merged commit 774d751 into midwayjs:main Nov 18, 2024
7 checks passed
@cyjake cyjake deleted the fix-leoric-mutli-datasource branch November 19, 2024 01:51
czy88840616 pushed a commit that referenced this pull request Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: bug fix This PR fixes a bug in a past release.
Development

Successfully merging this pull request may close these issues.

3 participants