Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow structs to be used as data #9

Merged
merged 1 commit into from
Aug 2, 2024
Merged

Conversation

zoedsoupe
Copy link
Owner

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
  • New feature
  • Breaking change
  • Documentation update

Checklist

  • My code follows the style guidelines of this project.
  • I have performed a self-review of my code.
  • I have commented on my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • New and existing unit tests pass locally with my changes.

Additional Context
N/A

@zoedsoupe zoedsoupe merged commit 859a0fd into main Aug 2, 2024
6 checks passed
@zoedsoupe zoedsoupe deleted the feat/support-struct-as-data branch August 2, 2024 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant