feat(client): @NacosConfigurationProperties support yaml style config

This commit is contained in:
chuntaojun 2019-05-29 11:21:04 +08:00
parent f21db94327
commit 97ff458422

View File

@ -49,6 +49,13 @@ public @interface NacosConfigurationProperties {
*/ */
String dataId(); String dataId();
/**
* if the config style is yaml
*
* @return default value is <code>false</code>
*/
boolean yaml() default false;
/** /**
* It indicates the properties of current doBind bean is auto-refreshed when Nacos configuration is changed. * It indicates the properties of current doBind bean is auto-refreshed when Nacos configuration is changed.
* *