Closed khieta closed 3 months ago
I don't understand how this fixes anything
Also mysterious to me. But it appears that Jackson was getting two different names from the getter (getPolicySet
) and the class field (policies
). And instead of warning or failing to build, it decided that we must want both fields.
Issue #, if available:
Description of changes:
cedar#1041 uncovered a bug in #173 😱
ValidationRequest
objects were being serialized as{ "schema":..., "policies": ..., "policySet": ...}
where thepolicies
andpolicySet
values were identical. This PR gets rid of the unwantedpolicySet
field.