maestre3d / alexandria

The Alexandria Project is an open-source platform where people can share their knowledge through books, podcasts, docs and videos.
https://alexandria.damascus-engineering.com
GNU Affero General Public License v3.0
9 stars 1 forks source link

Add validator to domain entities #17

Closed maestre3d closed 4 years ago

maestre3d commented 4 years ago

Is your feature request related to a problem? Please describe. Validation can be exhausting and a complete mess.

Describe the solution you'd like We could use a idiomatic go validator like HapiJS joi.

Describe alternatives you've considered We could use Go Playground's validator or Asaskevich's govalidator.

Additional context None.

maestre3d commented 4 years ago

Author service now uses go-playground's validator.

Migrating Media service...