Skip to content

More than a million validation errors crashes the application.  #199

Closed
@khiftikhar

Description

@khiftikhar

Hi,

We have an application which allows customer to send a json of 100 megabytes. In one case, we experienced that the customer sent a file in which every almost every field had validation exceptions. This validator gathers all the errors and report them at the end, but in this particular case, the there too+ many errors which caused the application to crash since it went out of memory. It would be nice to introduce a kind of fail early with a configurable threshold. Touching the threshold shall stop further processing and report errors gathered at that time.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions