Validate a create operation
Validate a create operation
new row to persist
implicit execution context for mapping
FormValidatorMessageSeq wraps a seq that contains 0 (no errors) to many errors
Validate an update operation
Validate an update operation
new row to update to
original row
implicit execution context for mapping
FormValidatorMessageSeq wraps a seq that contains 0 (no errors) to many errors
Validate a create operation and throw an exception on failure
Validate a create operation and throw an exception on failure
new row to persist
implicit execution context for mapping
nothing
FormValidatorExceptions
on any validation failing
Validate an update operation and throw an exception on failure
Validate an update operation and throw an exception on failure
new row to update to
original row
implicit execution context for mapping
nothing
FormValidatorExceptions
on any validation failing
Simple form validator, we should probably spend more time on this and make it better. Idea is that we can validate create or update, run db queries, and handle multiple validation errors
case class recordset