Skip to content

Conversation

@archerzz
Copy link
Member

this is a port of Azure/autorest.csharp#4688 with some additional changes due to different code base:

  • add FlattenedNames to InputModelProperty
  • add TryReadStringArray to Utf8JsonReaderExtensions

this is a port of Azure/autorest.csharp#4688
with some additional changes due to different code base:
- add `FlattenedNames` to `InputModelProperty`
- add `TryReadStringArray` to `Utf8JsonReaderExtensions`
@microsoft-github-policy-service microsoft-github-policy-service bot added the emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp label May 30, 2024
public class InputModelProperty
{
public InputModelProperty(string name, string serializedName, string description, InputType type, bool isRequired, bool isReadOnly, bool isDiscriminator)
public InputModelProperty(string name, string serializedName, string description, InputType type, bool isRequired, bool isReadOnly, bool isDiscriminator, IReadOnlyList<string>? flattenedNames = null)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need flatten feature in non-branded SDK?

@archerzz archerzz closed this May 30, 2024
@archerzz archerzz reopened this Jun 6, 2024
@archerzz
Copy link
Member Author

archerzz commented Jun 6, 2024

This PR has been covered in #3503

@archerzz archerzz closed this Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants