Context
Partial<T> makes fields T | undefined, but database drivers return null for missing values. PATCH request types should use VoidableProps<T> (already in utils.ts) which gives { [P in keyof T]?: T[P] | null }.
What to do
Audit all Partial<XxxPost> PATCH types across the SDK and replace with VoidableProps<XxxPost>.
Known instance:
ApiAppreciationPatch = Partial<ApiAppreciationPost> → VoidableProps<ApiAppreciationPost>
Check all other *Patch and *Update types for the same pattern.
Context
Partial<T>makes fieldsT | undefined, but database drivers returnnullfor missing values. PATCH request types should useVoidableProps<T>(already inutils.ts) which gives{ [P in keyof T]?: T[P] | null }.What to do
Audit all
Partial<XxxPost>PATCH types across the SDK and replace withVoidableProps<XxxPost>.Known instance:
ApiAppreciationPatch = Partial<ApiAppreciationPost>→VoidableProps<ApiAppreciationPost>Check all other
*Patchand*Updatetypes for the same pattern.