kitware-resonant / dkc-next

Apache License 2.0
3 stars 0 forks source link

Perform validation on files in REST layer #110

Closed zachmullen closed 3 years ago

zachmullen commented 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.

zachmullen commented 3 years ago

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.