kubedirector icon indicating copy to clipboard operation
kubedirector copied to clipboard

unify our PATCH value representation/handling

Open joel-bluedata opened this issue 6 years ago • 1 comments

There are now multiple spots in our code where we do a PATCH, and multiple ways in which we handle defining a data structure for the PATCH payload, sometimes with an auxiliary data structure and custom JSON marshalling.

In cases where the PATCHed value is a pointer to a primitive type (bool, string, int) we could have a common data structure and marshalling that is used by everyone. It is probably time to refactor our code to do this, rather than continuing to have each instance of a PATCH doing a roll-your-own solution.

joel-bluedata avatar Jan 24 '19 19:01 joel-bluedata

Depends on issue #194.

joel-bluedata avatar Aug 30 '19 22:08 joel-bluedata