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 am having an issue with the DeleteNamespacedServiceWithHttpMessagesAsync and DeleteNamespacedServiceAsync methods. Why are these the only delete methods that return an object of the parent type? DeleteNamespacedDeployment, Container, ConfigMap, etc all return V1Status.
IntelliSense claims these return a type of HttpOperationResponse<V1Service> but I receive a serialization error from System.Text.Json when I attempt to use it.
Am I supposed to be using a different JsonSerializer than System.Text? Newtonsoft wasn't working with other aspects of the API client. It's almost as though the actual method is attempting to V1ServiceStatus but the method signature is set to V1Service
Hello,
I am having an issue with the
DeleteNamespacedServiceWithHttpMessagesAsync
andDeleteNamespacedServiceAsync
methods. Why are these the only delete methods that return an object of the parent type?DeleteNamespacedDeployment
, Container, ConfigMap, etc all returnV1Status
.IntelliSense claims these return a type of
HttpOperationResponse<V1Service>
but I receive a serialization error fromSystem.Text.Json
when I attempt to use it.Am I supposed to be using a different JsonSerializer than System.Text? Newtonsoft wasn't working with other aspects of the API client. It's almost as though the actual method is attempting to V1ServiceStatus but the method signature is set to V1Service
Please review
Code:
Error:
The text was updated successfully, but these errors were encountered: