-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
The reflectionenricher fails to detect circular type references in properties which leads to a stackoverflow exception.
Found this issue when trying to use ValidationResult
as a property in a DtoResponse. It contains a property of IRequest
which itself contains an IResponse
property which contains an IRequest
property and thus creates an infinite loop.
Need to add a check when using the property enricher that it does not process a type already in the parent tree and if so instead create a symbolic link in the spec (something we don't really have afaik)