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
I was thinking maybe there should be an AnyBody enum, that takes the simple types that are implemented in this crate and sums it so then the service can use this as well.
Maybe I have wrong idea of that design but would be help to hear your thoughts.
The text was updated successfully, but these errors were encountered:
I'm trying to help the upgrade of kube-rs. We're a bit confused with the new Body trait and in our case kube-rs implements a tower Service so users can build their own stacks.
The issue is that it requires to know the body type ahead of time (it can be different types based on the exact request used).
https://github.com/kube-rs/kube/blob/c2983f6d196daecde39069f7ab322375ff9d1566/kube-client/src/client/mod.rs#L68
I was thinking maybe there should be an
AnyBody
enum, that takes the simple types that are implemented in this crate and sums it so then the service can use this as well.Maybe I have wrong idea of that design but would be help to hear your thoughts.
The text was updated successfully, but these errors were encountered: