Description
When defining raw data structures schemas like {:list, schema}, internally the schema validator
doesn't use the Peri.Parser, as it is designed to handle nested structres recursively.
So we provide the "root data" as the raw data as it is.
Related Issues
This closes #7.
Type of Change
[x] Bug fix
[ ] New feature
[ ] Breaking change
[ ] Documentation update
Checklist
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my code.
[x] I have commented on my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] New and existing unit tests pass locally with my changes.
Additional Context
Add any other context or screenshots about the pull request here.
Description When defining raw data structures schemas like
{:list, schema}
, internally the schema validator doesn't use thePeri.Parser
, as it is designed to handle nested structres recursively.So we provide the "root data" as the raw data as it is.
Related Issues This closes #7.
Type of Change
Checklist
Additional Context Add any other context or screenshots about the pull request here.