diff --git a/app.go b/app.go index 2ca3b5fa3c..73e1bd66d4 100644 --- a/app.go +++ b/app.go @@ -82,7 +82,9 @@ type Group struct { // You can pass optional settings when creating a new instance. func New(settings ...*Settings) *App { schemaDecoderForm.SetAliasTag("form") + schemaDecoderForm.IgnoreUnknownKeys(true) schemaDecoderQuery.SetAliasTag("query") + schemaDecoderQuery.IgnoreUnknownKeys(true) // Create app app := new(App) // Create settings