You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When Argument struct using "yaml:",inline"" tag,it cause panic
I'm working on [#23]https://github.com/cloudwego/cwgo/issues/114
And because Argument struct use many Embedded Struct pointer,
In gopkg yaml doc if use Embedded Struct,have to add "yaml:",inline"" tag,
But in version 2,is not support Embedded Struct pointer ,and it will cause panic,
Describe the solution you'd like
After testing, In version 3 this problem was already solved
The api of version 3 was almost not differ than version 2
So it is perfectly acceptable
Describe alternatives you've considered
If just to solve [#23]https://github.com/cloudwego/cwgo/issues/114
We slove can use Decoder to solve this problem,but if we want to add some new arg,it will be pretty hard to maintain
So the easiest way to solve this problem is to update version
Additional context
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
When Argument struct using "
yaml:",inline"
" tag,it cause panicI'm working on [#23]https://github.com/cloudwego/cwgo/issues/114
And because Argument struct use many Embedded Struct pointer,
In gopkg yaml doc if use Embedded Struct,have to add "
yaml:",inline"
" tag,But in version 2,is not support Embedded Struct pointer ,and it will cause panic,
Describe the solution you'd like
After testing, In version 3 this problem was already solved
The api of version 3 was almost not differ than version 2
So it is perfectly acceptable
Describe alternatives you've considered
If just to solve [#23]https://github.com/cloudwego/cwgo/issues/114
We slove can use Decoder to solve this problem,but if we want to add some new arg,it will be pretty hard to maintain
So the easiest way to solve this problem is to update version
Additional context
The text was updated successfully, but these errors were encountered: