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
return"", "", errors.New("found float, the usage of which is highly discouraged, as support for them varies across languages. Please consider serializing your float as string instead. If you are really sure you want to use them, re-run with crd:allowDangerousTypes=true")
571
+
return"", errors.New("found float, the usage of which is highly discouraged, as support for them varies across languages. Please consider serializing your float as string instead. If you are really sure you want to use them, re-run with crd:allowDangerousTypes=true")
574
572
}
575
573
default:
576
-
return"", "", fmt.Errorf("unsupported type %q", basic.String())
574
+
return"", fmt.Errorf("unsupported type %q", basic.String())
577
575
}
578
576
579
-
switchbasic.Kind() {
580
-
casetypes.Int32, types.Uint32:
581
-
format="int32"
582
-
casetypes.Int64, types.Uint64:
583
-
format="int64"
584
-
}
585
-
586
-
returntyp, format, nil
577
+
returntyp, nil
587
578
}
588
579
589
580
// Open coded go/types representation of encoding/json.Marshaller
0 commit comments