n9-machine-user
released this
20 Nov 17:13
·
6 commits
to refs/heads/main
since this release
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 oncomparable
types andrules.CompareDeepEqualFunc
which usesreflect.DeepEqual
and operates on any type.