fix(server): validate resourceType and id after applying PATCH
fix(server): validate resourceType and id after applying PATCH: a task in life-science-SWE1.0 (Harbor dataset). Title: fix(server): validate resourceType and id after applying PATCH
The task
**Title:** fix(server): validate resourceType and id after applying PATCH
Part of scalingX/life-science-SWE1.0.