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
Different forms may make requests with different request parameters for the same data.
For example, one form may send a parameter of minDateand another form may send a parameter of minimumDate, but both need to map to the filterMinimumDate() method.
The resolver will call a performTransformations() method before running each mapped filter which will set a request parameter of minimumDate to be the value of the existing request parameter minDate.
Different forms may make requests with different request parameters for the same data.
For example, one form may send a parameter of
minDate
and another form may send a parameter ofminimumDate
, but both need to map to thefilterMinimumDate()
method.A
$transforms
property could look like this:The resolver will call a
performTransformations()
method before running each mapped filter which will set a request parameter ofminimumDate
to be the value of the existing request parameterminDate
.Now it won't matter if the form sends
minDate
,dateMin
,fromDate
, ormimimumDate
– it will always be mapped to thefilterMinimumDate
method.The text was updated successfully, but these errors were encountered: