refactor(api): Restore the yaml() method to be compatible with older clients
This commit is contained in:
parent
1119e9e332
commit
039baee47d
@ -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
|
||||
*/
|
||||
@Deprecated
|
||||
boolean yaml() default false;
|
||||
|
||||
/**
|
||||
* config style
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user