Description
Handle struct to be used as data. Although peri doesn't support struct as schema definition yet, it
makes sense to define schemas for structs while passing the struct as data to be validated.
Related Issues
This solves #6.
Type of Change
[ ] Bug fix
[x] 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.
Description Handle struct to be used as data. Although peri doesn't support struct as schema definition yet, it makes sense to define schemas for structs while passing the struct as data to be validated.
Related Issues This solves #6.
Type of Change
Checklist
Additional Context N/A