Closed ravilr closed 4 months ago
this fixes the remaining issue reported in #101 w.r.t appendSlice patch policy in function-p-and-t having different behavior than the native P&T.
As explained in https://github.com/crossplane-contrib/function-patch-and-transform/issues/101#issuecomment-2022468812, the from source field value is being round-trip'ed through Kubernetes JSON decoder, so that the json integers are unmarshaled as int64 consistent with to/dest value handling here.
from
to
@phisco @negz PTAL.
this fixes the remaining issue reported in #101 w.r.t appendSlice patch policy in function-p-and-t having different behavior than the native P&T.
As explained in https://github.com/crossplane-contrib/function-patch-and-transform/issues/101#issuecomment-2022468812, the
from
source field value is being round-trip'ed through Kubernetes JSON decoder, so that the json integers are unmarshaled as int64 consistent withto
/dest value handling here.