registerModule MethodStatic

Register all of the classes found in the given module that derive from Entity. See the example in Schema

registerModule(moduleObj: any, schema: Schema): void

Parameter Type Description
moduleObj any The module to search for subclasses of Entity
schema Schema The schema for all found classes

Defined in

Last Updated: 08 January, 2020