Skip to content

Can flattening be handled with LastContractView #7427

Closed

Description

@JoshLove01

There is a concept of flattening for mgmt plane services where models with a single property were flattened onto their container. We will have to support this for backcompat. We should investigate whether this can be done as part of the LastContractView or if we would need to respect the flattened decorator.

/cc Jorge Rangel (@jorgerangel-msft)

Activity

  1. JoshLove01 commented on Jul 1, 2025

    @JoshLove01
    ContributorAuthor

    Probably too complex for last contract view. We will see if we need flattened support as we migrate more libraries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions