今日もExpressの開発機能開発だった。
既に利用していたバリデーションライブラリがPOSTリクエストにしか対応してないことが判明し、他のHTTPメソッドに利用できない問題が発生した。
そのため、別のバリデーションライブラリを使用することにした。
そのライブラリは、以前の物はミドルウェアのような物だったのに対し、インスタンスライブラリのような物だった。だから、少しコントローラーに対する記述量が増えてしまった。
More than 3 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
List of users who liked
10