I'v'e been trying to validate my request based on my entity (Product) dto.
Everything is working fine, except for 'From' and 'To' fields.
Customer and Type fields are validated correctly, if i try to send a request with wrong data, that's what i get.
"type must be a valid enum value"
"error": "Bad Request"
ProductDto should validate 'From' and 'To' fields from LeagueEntity.