You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Validator body or params in controller is a bit lazzy and make a bunch of duplicated code.
Hope in v3 We can put an optional validator or dèault function in fiber config and recall it in very single parser ?
Additional Context (optional)
No response
Code Snippet (optional)
package main
import"github.com/gofiber/fiber/v2"import"log"funcmain() {
app:=fiber.New()
// An example to describe the featurelog.Fatal(app.Listen(":3000"))
}
hotrungnhan
changed the title
🚀 [Feature]: validator tag, default tag in body parse
🚀 [Feature]: validator tag, default tag in body or params parse
Jul 6, 2022
Feature Description
Validator body or params in controller is a bit lazzy and make a bunch of duplicated code.
Hope in v3 We can put an optional validator or dèault function in fiber config and recall it in very single parser ?
Additional Context (optional)
No response
Code Snippet (optional)
Checklist:
The text was updated successfully, but these errors were encountered: