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: undefined): void
| Parameter | Type | Description |
|---|---|---|
| moduleObj | any | The module to search for subclasses of Entity |
| schema | undefined | The schema for all found classes |
Returns - void
Defined in
- backend/src/ClassRegistry.ts Line 200
Last Updated: 20 June, 2023