Closed alberskib closed 10 years ago
I'll explain you how to deal with it. It's a pity that we cannot improve much the error message in this case (but I'll think about it).
Here is the signature of the service's please
moethod:
def please[A <: AnyAction, E <: Executor.For[A]](action: A)
(implicit mkE: A => E): E#Out = {
val exec = mkE(action)
exec()
}
So it requires an implicit that constructs an executor for the given action. In your case, the action is CreateTable(...)
. And you have a val executors
, which are actually implicit defs from actions to executors (that's what we need). So the solution here is that inside of initialize
you have to import those implicit conversions (just import executors._
). Tell me if it helps or not.
Great. Works perfectly.
I was thinking that if I create executors
inside commong object it will work correctly.
@bio4j/dynamograph Hello, I updated dynamograph to the newest version of tabula (just checkout master branch from github and release SNAPSHOT) ... Next I create some kind of TableModelInitializer which should create tables for GO. In code it looks more or less like this:
But when I try to compile it I receive error:
Such implicit must be created for each type of the Table or I am missing sth?