Skip to content

Resolve rules chain inside Validate #156

@GooRiOn

Description

@GooRiOn

As you see we have a #114 almost done by @paw3lx. However we spotted that this feature requires the whole rules chain to be resolved inside Validate() method since the object is required as a one of the parameter of the selector. This will cause the inconsistency comparing to the previous solution where each chain is resolved inside ValitRules object (more precisely inside Ensure()). Now we have two options:

  1. Move all creations of rules chain to Validate() method to be consistent
  2. Get rid of old overloads which don't require second parameter, so the object (again to be consistent)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions