Closed mTsBucy1 closed 1 month ago
Thanks very much for the detailed report. Yes, as you suggest the fix is to make the uniqueName
field optional. This is a field within IdentityRef
. As you say, this is a breaking change for any existing users, but is the right fix to make. I can document the change and the compiler will tell anyone affected when they upgrade.
Okay, nice, yeah I would much appreciate a fix. :) I have now run into this again with another api call.
Fixed: https://github.com/microsoft/azure-devops-rust-api/pull/482 I've just published a new version with the fix: 0.22.0.
I have run into this problem, while trying to call Test - Points - Get Point and the field
LastResultDetails
contains arun_by
with typeazure_devops_rust_api::test::models::IdentityRef
. However in this case the server doesn't include theuniqueName
or really any metadata.The example in the api does not even include the
LastResultDetails
field.The shortened request/response pair which triggers the error:
I wonder what workaround there is. Because making the
uniqueName
and Option is technically a breaking change, so I don't expect you to do this right away. But then, it is a deprectated field.Thanks for any help and thanks for maintaining this Wrapper, it is very useful :)