request_validator 0.3.0 copy "request_validator: ^0.3.0" to clipboard
request_validator: ^0.3.0 copied to clipboard

A middleware to validate request body before route handler, focused with Dart Frog.

0.3.0 #

  • feat: add request headers validation
  • docs(README): add documentation on headers validation
  • docs(example): update example app to showcase headers validation

0.2.0 #

  • feat: add query parameters validation
  • docs(README): add documentation on query validation, update badges
  • docs(example): update example app to showcase query validation

0.1.0 #

Initial version of the library. 🎉

  • Ability to create custom validator by extending RequestValidator class.
  • Use the validator as a middleware using serveAsMiddleware() method.
2
likes
160
pub points
0%
popularity

Publisher

verified publisherthecodexhub.dev

A middleware to validate request body before route handler, focused with Dart Frog.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

collection, dart_frog, meta

More

Packages that depend on request_validator