fix: class-validator validate union type #2199
Labels
status: needs triage
Issues which needs to be reproduced to be verified report.
type: fix
Issues describing a broken feature.
I have a schema, which mean the data will be different according to one of the attributes.
When I try to run this code I not get error of validate if i send wrong type
What is the correct way to validate the Feature class so that it only accepts 2 different kinds?
The text was updated successfully, but these errors were encountered: