Skip to content

duplicate-property error message should provide the model name #10195

@baywet

Description

@baywet

Today, the duplicate-property error message gives you the following error message:

Model already has a property named id

But does NOT give you the model name.

It'd be useful if the message would be something like this instead

Model Foo already has a property named id

Metadata

Metadata

Assignees

Labels

compiler:coreIssues for @typespec/compiler

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions