Skip to content

v0.11.0

Latest
Compare
Choose a tag to compare
@n9-machine-user n9-machine-user released this 20 Nov 17:13
· 6 commits to refs/heads/main since this release
d65c01e

What's Changed

🚀 Features

  • feat: Add EqualProperties rule (#54) @nieomylnieja

    Added rules.EqualProperties rule which helps ensure selected properties are equal.
    The equality check is performed via a configurable function.
    Two builtin functions are provided out of the box: rules.CompareFunc which operates on comparable types and rules.CompareDeepEqualFunc which uses reflect.DeepEqual and operates on any type.

🧰 Maintenance