Skip to content

mgmt, TypeSpec tspconfig for premium libs #47778

@weidongxu-microsoft

Description

@weidongxu-microsoft

The compilation likely would fail, as the generated code is not automatically compatible with handwritten code.

This task is a WIP to be either a guideline to solve the problem, or a basic for agent to fix it.

tspconfig.yaml

Remove the generated segment from namespace and emitter-output-dir.

Make sure this is specified

    premium: true
    client-side-validations: true
    enable-sync-stack: false

One may optional need

    use-object-for-unknown: true

too.

back-compatible.tsp

Make sure flattenProperty contains Java in scope.

client.tsp

Check build error, add client rename to issues relates to casing, e.g. rename IPRule to IpRule.

Example

Metadata

Metadata

Labels

MgmtThis issue is related to a management-plane library.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions