dynamo-easy
dynamo-easy copied to clipboard
issue with table name when uglify is used
If code is uglified the constructor.name (see model.decorator.ts
) value will not be what we expect it to be (a predefined value matching the Class name). This means the user must provide the table name in any situation, which requires the TableName to be required on ModelData.
read https://github.com/inversify/InversifyJS/blob/master/wiki/contextual_bindings.md#contextual-bindings--targetname for inspiration on other concepts