It might be worthwhile to explicitely mark fields that do normalization.
Define a INormalizedField that only define a normalize(value) method. Instead of creating a fake context on which we can call the set() method to retrieve the normalized value, ResourceOperation could simply call normalize() on fields that support it, otherwise use the unmarshalled value directly.
It might be worthwhile to explicitely mark fields that do normalization.
Define a INormalizedField that only define a normalize(value) method. Instead of creating a fake context on which we can call the set() method to retrieve the normalized value, ResourceOperation could simply call normalize() on fields that support it, otherwise use the unmarshalled value directly.