Sergei Predvoditelev
Sergei Predvoditelev
It's may be implement as two rules: `And` and `Or`.
> We can mention it in docs or drop the current syntax. But what goal of syntax change?
Example of pure usage: https://github.com/vjik/yii-router-pure-example/blob/master/src/index.php It should be simplified.
I like named arguments. More shortly, but without loss of readability.
@aphraoh https://github.com/yiisoft/queue-db
I like this idea.
Waiting https://github.com/yiisoft/arrays/pull/80
The validator can't check existence of field. `{orderBy:"name",sort:""}` and `{orderBy:"name"}` for required validator is equal.
**Idea of implementation** Add `FromRequestBody`, `FromRequestQuery`, etc. attributes that will be hydrate to object properties with same names. Need ability to use manual attributes also. Example: ```php public function myAction(...
@see https://github.com/yiisoft/validator/pull/102