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

[2.x] Dry run & validation #62

Open
megasteve19 opened this issue Jan 30, 2024 · 0 comments · May be fixed by #61
Open

[2.x] Dry run & validation #62

megasteve19 opened this issue Jan 30, 2024 · 0 comments · May be fixed by #61
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@megasteve19
Copy link
Member

Validation should be done beforehand, before everything is converted into associated objects. This will allow library to throw errors (if any) and prevent invalid data. Also new Laravel rule can be introduced.

  • Create seperate validation handler
  • Validate input before using it, throw error if input is invalid
  • Add validation rule
@megasteve19 megasteve19 added the enhancement New feature or request label Jan 30, 2024
@megasteve19 megasteve19 added this to the 2.0 milestone Jan 30, 2024
@megasteve19 megasteve19 self-assigned this Jan 30, 2024
@megasteve19 megasteve19 linked a pull request Jan 30, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant