Constraint implementations (i.e. structs like AllOf, AnyOf, Type, ...) have common functionalities that could be converted to a separate reusable method to remove duplicate code in these implementations.
This can be added in the Constraint implementation itself so that any Constraint variant can use this method.
Constraint implementations (i.e. structs like
AllOf
,AnyOf
,Type
, ...) have common functionalities that could be converted to a separate reusable method to remove duplicate code in these implementations.This can be added in the Constraint implementation itself so that any Constraint variant can use this method.