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

让默认的DynamicDataSourceProvider优先级为0 #437

Merged
merged 1 commit into from
Jun 27, 2022

Conversation

VonXXGhost
Copy link
Contributor

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style
  • Refactor
  • Doc
  • Other, please describe:

The description of the PR:

设定默认的 ymlDynamicDataSourceProvider@Order(0),从而使得使用方可以准确地控制 DynamicRoutingDataSource 中的 providers 注入顺序,以实现同名数据源按照优先级覆盖的效果

@huayanYu huayanYu merged commit ff5cf10 into baomidou:master Jun 27, 2022
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

2 participants