Bruce Johnston

Results comments of Bruce Johnston

:+1: This is a must-have for multi-tenant services. One thing that would make this more useful is the ability to take host name as a constructor parameter of the client...

:+1: This is what I originally proposed in issue https://github.com/Azure/autorest/issues/290, before it was closed a bit prematurely :-) We've implemented this pattern with custom code in the Azure Search SDK....

If you add this ability, will it be opt-out? The reason I ask is that for default values, it doesn't really make sense to set them on the client, since...

@amarzavery Why can't this "enum-as-constant" behavior be opt-in? If I put `modelAsString: false` in my spec, AutoRest should always respect it when the target language supports enums. Instead, right now...

The problem with the enum type being modeled as a string was actually a bug that was fixed after 0.15.0, but my original point about being able to opt out...

Agreed. A common use case for Azure services in particular is `ClientRequestId`. It would be great to be able to define it only once in the Swagger file without exposing...

Duplicate https://github.com/Azure/autorest/issues/316