zoedsoupe / peri

Elixir library for declarative data description and validation
MIT License
84 stars 2 forks source link

Allow structs to be used as data #9

Closed zoedsoupe closed 3 months ago

zoedsoupe commented 3 months ago

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