understanding-json-schema icon indicating copy to clipboard operation
understanding-json-schema copied to clipboard

Using oneOf/anyOf without careful consideration can be a performance killer

Open unguul opened this issue 5 years ago • 0 comments

As per https://github.com/justinrainbow/json-schema/issues/640, having multiple oneOf entries can severely impact performance, especially when validating nested data.

While this might be an implementation specific problem, it might be worth adding some sort of warning in the docs to make people aware of this caveat.

unguul avatar Jul 14 '20 15:07 unguul