Bruce Johnston
Bruce Johnston
We should define some design goals for the generated code based on what we think the best developer experience is going to be. If I had to pick some goals,...
Not sure why, but not all clients expose long-running operations, so the `LongRunningRetryOperationTimeout` property is not always relevant (see https://github.com/Azure/autorest/issues/1441). There are better ways than nullable to deal with that...
@fearthecowboy This isn't a ClientRuntime issue as these properties are included in the generated `ServiceClient`-derived classes by AutoRest. I'm fine with this issue being closed though, as I have another...
Duplicate https://github.com/Azure/autorest/issues/513 These are great suggestions! Please look for issues that have already been opened and +1 them; It may save both of us a bunch of time.
@fearthecowboy Given that `x-nullable` is (or will soon be?) a thing, IMO it would be better to use it to control these client language-binding decisions, rather than overloading the semantics...
@fearthecowboy Yep, given that AutoRest already assumes that required == not-nullable, that's a reasonable position to take. I'm fine either way.
@matthchr I skimmed the PR, but I just want to confirm: This was fixed by avoiding a call to `SafeJsonConvert.SerializeObject(null)`, not by modifying `SafeJsonConvert` itself, correct?
Related issue: https://github.com/Azure/autorest/issues/375 Looks like the enum case was missed in that fix.
`SafeJsonConvert.SerializeObject` is nearly identical to `JsonConvert.SerializeObject` except that it doesn't inherit global `JsonSerializerSettings` from `JsonConvert`. Are you using custom settings in one case but not the other? Also, can you...
Since the type of `ExtendedData` is `IDictionary`, how is this even compiling? ``` csharp var extendedData = new[] { new { Name = "foo", Value = 1 }, new {...