We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27590f4 commit a047f39Copy full SHA for a047f39
cmd/gen.go
@@ -197,6 +197,7 @@ func parseClaims(custom jwt.MapClaims) error {
197
// Override with custom claims
198
if dec, err := mapstructure.NewDecoder(&mapstructure.DecoderConfig{
199
TagName: "json",
200
+ Squash: true,
201
Result: &custom,
202
}); err != nil {
203
return errors.Errorf("failed to init decoder: %w", err)
0 commit comments