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

iphone - Three second countdown in cocos2d -

hyperlink - how to do url routing in php -

c - Avoiding Extra Malloc in Linked List (node->next = NULL) -