We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Per https://github.com/kubernetes-client/javascript/blob/master/src/gen/model/networkingV1beta1IngressBackend.ts#L38 the backend's servicePort is set as object .. shouldn't this be a number or string or am I missing something?
servicePort
object
Passing in an arbitrary object returns from the api:
v1beta1.IngressBackend.ServicePort: unmarshalerDecoder: json: cannot unmarshal object into Go value of type int32,
The text was updated successfully, but these errors were encountered:
This is a duplicate of #370
There's some weirdness in how the swagger is converted to typescript where object is being substituted for number.
If you pass a string or a number it should work correctly.
I need to dig into the code gen and/or the openapi spec to figure out what's going wrong, but I haven't had the cycles.
I'm closing this in favor of #370 since it's the same issue. Please use /reopen if you want to reopen this issue for any reason.
/reopen
(and if you have cycles to dig into why this is happening PRs or investigations are very welcome)
Sorry, something went wrong.
No branches or pull requests
Per https://github.com/kubernetes-client/javascript/blob/master/src/gen/model/networkingV1beta1IngressBackend.ts#L38 the backend's
servicePort
is set asobject
.. shouldn't this be a number or string or am I missing something?Passing in an arbitrary object returns from the api:
v1beta1.IngressBackend.ServicePort: unmarshalerDecoder: json: cannot unmarshal object into Go value of type int32,
The text was updated successfully, but these errors were encountered: