Dapeng Zhang

Results 62 issues of Dapeng Zhang

This is not a PR meant to be merged. Just post it in case the feature branch gets cleaned up

DoNotMerge

This PR introduces a global cache for types when we are doing the type conversion from TCGC's type to our input types in the emitter.

emitter:client:csharp

Adopts the `examples` from TCGC

emitter:client:csharp

Support the generation for typespec such as: ```typespec op foo(...Bar): void; ``` Currently our generator here just ignores the body, even if `Bar` is a body parameter. I notice this...

emitter:client:csharp

The property in structs should not have setters.

emitter:client:csharp

There are duplicated APIs for attributes: 1. https://github.com/microsoft/typespec/blob/26c2924413b0452441b9d401e34c6a44143f9e2d/packages/http-client-csharp/generator/Microsoft.Generator.CSharp/src/Providers/TypeProvider.cs#L30 2. https://github.com/microsoft/typespec/blob/26c2924413b0452441b9d401e34c6a44143f9e2d/packages/http-client-csharp/generator/Microsoft.Generator.CSharp/src/Providers/TypeProvider.cs#L214 For attributes on types, I think we should do the same as we did for other members such as properties,...

emitter:client:csharp

See: https://github.com/Azure/azure-sdk-for-net/blob/97a2911b0ff82385ee3499e2bb13c24b37f4d74f/sdk/resourcemanager/Azure.ResourceManager/README.md#rehydrate-a-long-running-operation There is a link implying that there are more samples for this topic, but actually that directory does not have such samples

Mgmt
ARM - Core

Fixes https://github.com/Azure/azure-sdk-for-net/issues/49144 # Contributing to the Azure SDK Please see our [CONTRIBUTING.md](https://github.com/Azure/azure-sdk-for-net/blob/main/CONTRIBUTING.md) if you are not familiar with contributing to this repository or have questions. For specific information about pull...

Mgmt

In our generator, we have a post processor to trim unused models. When it does this, it will also remove the corresponding entry in the model factory. For instance, if...

emitter:client:csharp
1_0_E2E