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
Currently, the Go SDK includes some parameter validation. If readonly parameters (like provisioning state) are passed, the function will return an error.
This is not as cool when you have lines like this, in which the same struct you got in a GET operation will be passed in a PUT operation (let's say I just want to update data disk size)...
Setting all these readonly parameters to nil looks horrible :(
Maybe it could be done inside the function (in this case CreateOrUpdate).
Thoughts? cc @jhendrixMSFT@vishrutshah
The text was updated successfully, but these errors were encountered:
Currently, the Go SDK includes some parameter validation. If
readonly
parameters (like provisioning state) are passed, the function will return an error.This is not as cool when you have lines like this, in which the same struct you got in a GET operation will be passed in a PUT operation (let's say I just want to update data disk size)...
Setting all these
readonly
parameters to nil looks horrible :(Maybe it could be done inside the function (in this case
CreateOrUpdate
).Thoughts? cc @jhendrixMSFT @vishrutshah
The text was updated successfully, but these errors were encountered: