Skip to content

Commit

Permalink
[ISSUE nacos-group#323] adjust @NacosConfigurationProperties configur…
Browse files Browse the repository at this point in the history
…ation priority
  • Loading branch information
nailcui committed Jan 31, 2024
1 parent eaf15a6 commit 0314810
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ protected void doBind(Object bean, String beanName, String dataId, String groupI
synchronized (this) {
String name = "nacos-bootstrap-" + beanName;
NacosPropertySource propertySource = new NacosPropertySource(dataId, groupId, name, content, configType);
environment.getPropertySources().addLast(propertySource);
environment.getPropertySources().addFirst(propertySource);
ObjectUtils.cleanMapOrCollectionField(bean);
Binder binder = Binder.get(environment);
ResolvableType type = getBeanType(bean, beanName);
Expand Down

0 comments on commit 0314810

Please sign in to comment.