Add option to ignore compared fields existence check by kssumin · Pull Request #3836 · assertj/assertj
This adds a new feature to recursive comparison that allows ignoring fields that don't exist in the actual object. This is particularly useful when comparing polymorphic objects where certain fields might only exist in some subtypes. Fixes assertj#3806 Signed-off-by: Kim Sumin <ksoomin25@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters