Create an object or val that is a subclass of the FactoryMaker to generate factory for a particular class as well as define session and request specific vendors and use doWith to define the vendor just for the scope of the call.
Create an object or val that is a subclass of the FactoryMaker to generate factory for a particular class as well as define session and request specific vendors and use doWith to define the vendor just for the scope of the call.
Calculate the name of a collection based on the full class name of the MongoDocument/MongoRecord.
Calculate the name of a collection based on the full class name of the MongoDocument/MongoRecord. Must be set in Boot before any code that touches the MongoDocumentMeta/MongoMetaRecord.
To get snake_case, use this
RecordRules.collectionName.default.set((_,name) => StringHelpers.snakify(name))
Perform the injection for the given type.
Perform the injection for the given type. You can call: inject[Date] or inject[List[Map[String, PaymentThing]]]. The appropriate Manifest will be
Register a function that will inject for the given Manifest
Register a function that will inject for the given Manifest