Merge pull request #1493 from chuntaojun/support_old_version

Fix @NacosConfigurationProperties to support old version
This commit is contained in:
Fury Zhu 2019-07-05 19:30:47 +08:00 committed by GitHub
commit f74827e838
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,6 +57,15 @@ public @interface NacosConfigurationProperties {
*/
String dataId();
/**
* set config type is yaml
* this method is deprecated, we support you use {@link #type()} to set config type
*
* @return default value <code>false</code>
*/
@Deprecated
boolean yaml() default false;
/**
* config style
*