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
can probably be inferred with more type safety (right now there's nothing ensures a & b are handlers of the same type in WithDefaulter(a).WithDefaulter(b)?). e.g.
can probably be inferred with more type safety (right now there's nothing ensures a & b are handlers of the same type in WithDefaulter(a).WithDefaulter(b)?).
/kind proposal
/kind feature
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
@ahmetb are you sure this is possible? My understanding is that it isn't due to golang/go#49085, the WebhookBuilder would only be able to support one type. I'd love to be wrong on this though.
CustomValidator and CustomDefaulter interfaces could use generics support to potentially shorten the handler funcs like this:
to
Also statements like:
can probably be inferred with more type safety (right now there's nothing ensures a & b are handlers of the same type in
WithDefaulter(a).WithDefaulter(b)
?). e.g./kind proposal
/kind feature
The text was updated successfully, but these errors were encountered: