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
In future api-versions the id should always be set, but for now I get your point. I created a PR to make this property nullable which should make the changes more backwards compatible #319
@jfullerton44 in this change, the ID for the tunnel endpoint became mandatory
https://github.com/microsoft/dev-tunnels/blame/c85e0671d98dd25331149959af6e4adf67dfb2b8/cs/src/Contracts/TunnelEndpoint.cs#L31
However, it seems like the Dev Tunnels service does not actually return that as a non-nullable string. For example, this is my tunnel in production
So, trying to parse that in Rust gives
invalid type: null
.The generator uses the presence of the
[JsonIgnore(...)]
attribute to determine if a field should be nullable. Should that be applied to the ID?The text was updated successfully, but these errors were encountered: