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.
This function is used to calculate the displayName of a field.
This function is used to calculate the displayName of a field. Can be used to easily localize fields based on the locale in the current request
Calculate the name of a field based on the name of the Field.
Calculate the name of a field based on the name of the Field. Must be set in Boot before any code that touches the MetaRecord.
To get snake_case, use this:
RecordRules.fieldName.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