Closed zachmullen closed 3 years ago
@brianhelba PTAL, my goal here is to ensure that the REST layer gives 400 errors with reasonable messages when model create/update fails validation. I have no idea where is the best place to put this validation logic.
Nobody seems to have a great answer for where to do validation... if you know of a better way, I'd love to hear it.
@brianhelba PTAL, my goal here is to ensure that the REST layer gives 400 errors with reasonable messages when model create/update fails validation. I have no idea where is the best place to put this validation logic.