Closed parliament718 closed 2 years ago
Validator seems to be applied on run . Additionally I have changed back the ProductEntity class name to Product as it seemed to be causing an issue.
What could be going wrong then?
Figured it out. I needed to create a validator for both
AdminPostProductsReq (create product) and AdminPostProductsProductReq (update product)
Package version:
"medusa-extender": "^1.7.6",
I'm not able to get Validator extending to work. It seems like I have all the pieces in place but I still get ""property should not exist" when calling POST admin/products/
Am I missing some piece?