You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2023-10-17T14:14:10Z TRACE oas3::spec::r#ref] creating Ref: schemas/Collection
[2023-10-17T14:14:10Z TRACE oas3::validation::validator] creating validation tree from schema: _unnamed_
[2023-10-17T14:14:10Z TRACE oas3::validation::validator] restricting data type: Object
[2023-10-17T14:14:10Z TRACE oas3::validation::validator] adding object validators: props children
[2023-10-17T14:14:10Z TRACE oas3::validation::validator] creating validation tree from schema: _unnamed_
[2023-10-17T14:14:10Z TRACE oas3::validation::validator] restricting data type: Array
[2023-10-17T14:14:10Z TRACE oas3::validation::validator] adding array validators
[2023-10-17T14:14:10Z TRACE oas3::spec::r#ref] creating Ref: schemas/Collection
[2023-10-17T14:14:10Z TRACE oas3::validation::validator] creating validation tree from schema: _unnamed_
[2023-10-17T14:14:10Z TRACE oas3::validation::validator] restricting data type: Object
[2023-10-17T14:14:10Z TRACE oas3::validation::validator] adding object validators: props children
[2023-10-17T14:14:10Z TRACE oas3::validation::validator] creating validation tree from schema: _unnamed_
[2023-10-17T14:14:10Z TRACE oas3::validation::validator] restricting data type: Array
[2023-10-17T14:14:10Z TRACE oas3::validation::validator] adding array validators
[2023-10-17T14:14:10Z TRACE oas3::spec::r#ref] creating Ref: schemas/Collection
[2023-10-17T14:14:10Z TRACE oas3::validation::validator] creating validation tree from schema: _unnamed_
[2023-10-17T14:14:10Z TRACE oas3::validation::validator] restricting data type: Object
[2023-10-17T14:14:10Z TRACE oas3::validation::validator] adding object validators: props children
[2023-10-17T14:14:10Z TRACE oas3::validation::validator] creating validation tree from schema: _unnamed_
[2023-10-17T14:14:10Z TRACE oas3::validation::validator] restricting data type: Array
[2023-10-17T14:14:10Z TRACE oas3::validation::validator] adding array validators
[2023-10-17T14:14:10Z TRACE oas3::spec::r#ref] creating Ref: schemas/Collection
[2023-10-17T14:14:10Z TRACE oas3::validation::validator] creating validation tree from schema: _unnamed_
[2023-10-17T14:14:10Z TRACE oas3::validation::validator] restricting data type: Object
[2023-10-17T14:14:10Z TRACE oas3::validation::validator] adding object validators: props children
[2023-10-17T14:14:10Z TRACE oas3::validation::validator] creating validation tree from schema: _unnamed_
[2023-10-17T14:14:10Z TRACE oas3::validation::validator] restricting data type: Array
[2023-10-17T14:14:10Z TRACE oas3::validation::validator] adding array validators
[2023-10-17T14:14:10Z TRACE oas3::spec::r#ref] creating Ref: schemas/Collection
(Repeating that many times more)
It seems like there is just no guarding against this case in the relevant code. It somehow would need to detect that there is some kind of loop and stop trying to resolve it.
The text was updated successfully, but these errors were encountered:
I run into a stack overflow due to a unrestricted recursion in some of my defined schemas while using
ValidationTree::from_schema
.Test case:
Relevant dependencies:
Log output for
oas3=trace
:(Repeating that many times more)
It seems like there is just no guarding against this case in the relevant code. It somehow would need to detect that there is some kind of loop and stop trying to resolve it.
The text was updated successfully, but these errors were encountered: