Skip to content

Modify TypeTransformers to give better diagnostics #4867

@theunrepentantgeek

Description

@theunrepentantgeek

Describe the current behavior

I've observed CoPilot getting stuck in a cycle trying to work out which type name to specify so that a TypeTransformer does the expected thing.

The root of the problem is that we rename types after the TypeTransformers run, so the final runtime type name isn't the right one.

Describe the improvement

We should detect when a TypeTransformer isn't used, and generate a useful error that can be used to correct the configuration. Our existing TypoAdvisor will be helpful here.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions