I'm having some trouble with the
def consumerCallbacks = Seq( beforeUpdate[Consumer] call {_.onUpdate})
Do I need to do something along the lines of the below to my User class?
class User extends MongoRecord[User] with MongoId[User] with LifecycleCallbacks {
that give a compiler error - so I guess its not quite that!
illegal inheritance;
[error] self-type com.blendology.sojo_database.model.User does not conform to net.liftweb.record.LifecycleCallbacks's selftype net.liftweb.record.LifecycleCallbacks with net.liftweb.record.BaseField
[error] class User extends MongoRecord[User] with MongoId[User] with CreatedUpdated[User] with LifecycleCallbacks {
And then would that line (or something similar) go in the User class?
Thanks