Filter::field()
, Filter::relation()
, Filter::morphRelation()
, Filter::morphType()
and Filter::custom()
filters must be required.
RequiredFilterException
is thrown.RequiredFilterException
extends Laravels ValidationException
.
scoped
parameter to true
to achieve this.