autorest icon indicating copy to clipboard operation
autorest copied to clipboard

Refine ARM template usage with named templated parameters

Open tadelesh opened this issue 1 year ago • 1 comments

create is ArmResourceCreateOrRepalceAsync<
  Employee,
  BaseParameter<Employee>,               // <- No need to lay out in order to get to last param
  ArmAsyncOperationheader>;   

=>

create is ArmResourceCreateOrRepalceAsync<
  Employee,
  LroHeaders = ArmAsyncOperationheader>;      

tadelesh avatar Mar 15 '24 03:03 tadelesh

related issue and pr: https://github.com/Azure/typespec-azure/issues/105, https://github.com/Azure/typespec-azure/pull/376

tadelesh avatar May 08 '24 02:05 tadelesh