alibaba / spring-cloud-alibaba

Spring Cloud Alibaba provides a one-stop solution for application development for the distributed solutions of Alibaba middleware.
https://sca.aliyun.com
Apache License 2.0
27.62k stars 8.25k forks source link

nacos .yaml格式文件解析属性错误 #3779

Open TianjinQin opened 2 weeks ago

TianjinQin commented 2 weeks ago

I used springcloudalibba to build a project and used nacso as the configuration center. In the file format of nacos, which is ". yaml", I customized a configuration "com: no: 123". Java applications can obtain this configuration item, but the key parsed is "com [false]", resulting in the inability to obtain the value of "com. no". If the configuration is modified to "com: no1:123", the value can be obtained. Has the project done keyword processing on "no"

yuluo-yx commented 2 weeks ago

no, sca doesn't have a word for no. Can you provide example to recreate it?

TianjinQin commented 1 week ago

maybe the configuration parsed exists bug

yuluo-yx commented 1 week ago

maybe the configuration parsed exists bug

Maybe, sca just integrates with nacos, you can ask questions to the nacos community and see!