validation - Custom asType[T] for a type T with Scalatra commands -


our database (which uses slick datamapper pattern, our models simple case classes ideal commands) has many adt's fields (i.e. abstract sealed class many case classes/case objects children), , idea our parameters (which going string within params object) going converted 1 of these types custom method

how go creating custom astype[t] type t string params when using scalatra commands?

for more info on scalatra commands, can read here http://www.scalatra.org/guides/formats/commands.html


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -