Issue Bug Closed

#85012Only validate method params if validation is needed

Alexander Schnitzler 05/15/18, 14:53 updated 10/02/18, 10:46

Description

Currently the ActionController creates objects for all incoming arguments and validates them right away, which is not necessarily needed in all cases, e.g. when a param is annotated with ignorevalidation.
We can save some CPU cycles here and improve the performance of controllers in general.

Reviews 1