Skip to content

Get all validation errors in an Dict #79

@edyan

Description

@edyan

Hi,

For now the validate() method returns only the first encountered error. I would like to know if we can get all, in a dict for example:
{ 'keya': ["True is not of type 'string'"], 'keyb': ["True is not of type 'string'"] }

Also, I noticed that the doc here https://github.com/ssato/python-anyconfig/blob/master/anyconfig/schema.py#L45 is not up to date. safe is not part of options ;)

Thanks !

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions