proofit404 / stories

Service objects designed with OOP in mind.
https://proofit404.github.io/stories/
BSD 2-Clause "Simplified" License
297 stars 21 forks source link

Validator should be able to normalize received functions. #679

Closed proofit404 closed 3 years ago

proofit404 commented 3 years ago

State should receive normalized object returned validator.

If variable or argument has more than one validator, we should check there is no conflict.

In addition all cases above should be tested with sequential nested stories:

C1(
    B1(
         A1(), # defines a1v1
         A2(), # defines a1v1 also
    ),
    B2(
         A3(),
         A4(),
    ),
)