Closed JSn1nj4 closed 1 year ago
I'll have to revisit the validator factories and their tests. While throwing the last one together, I realized it was useless where I was trying to use it because it assumed the incoming data was already structured the way the GithubEventDTO was going to transform it.
The validator factories need to generate a validator that validates data returned directly from each endpoint matches the expected structure.
As an aside, this will help generate more meaningful notifications in Sentry.
Need to revisit this, maybe another way.
Only a few validator factories will be implement initially. These will be related to each DTO class and supporting factory classes used for testing.
Starting list
Notes