Skip to content

Handle recursive type graphs in config binding generator #83539

@layomia

Description

@layomia

e.g. Handle recursive type graphs e.g. MyClass { List<MyClass> }.
Generator was added in #82179. Relevant logic is in the parser. Fix is to cache a new type spec immediately after encountering the ITypeSymbol, then initializing the new spec in a late-bound manner (e.g. via a method on the spec type).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions