Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed bug:Fix the problem that some types of yaml configuration cannot be converted, resulting in configuration loss #146

Merged
merged 2 commits into from
Jul 21, 2021

Conversation

five111
Copy link
Contributor

@five111 five111 commented Jul 17, 2021

修复yaml配置部分类型无法转换导致配置丢失的问题
比如 yaml配置value为bool类型 而接受类型为stirng 此时会将 bool转成stirng
#122
go-chassis/go-chassis#991

修复读取ssl配置时 因配置bool值导致配置读取不全的bug
go-chassis#122
go-chassis/go-chassis#991
@tianxiaoliang
Copy link
Member

感谢,PR的题目需要更加具体些,commit message也是

@tianxiaoliang
Copy link
Member

另外,修改了这个,需要增加一个UT case来保护功能基线

为yaml配置需要转换的类型增加UT 例如 bool -> string
@five111 five111 changed the title fixed bug fixed bug:Fix the problem that some types of yaml configuration cannot be converted, resulting in configuration loss Jul 21, 2021
@tianxiaoliang tianxiaoliang merged commit 7fd6ae1 into go-chassis:master Jul 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants