Open nechaido opened 3 years ago
It would be good to have a name property for custom types defined in ./types.js for a Model. That I would be able to use proper types in ERD generation
name
./types.js
Additional context https://github.com/metarhia/metagram/pull/2#issuecomment-842244870
You may use:
Model.prototype.types
Schema.prototype.findType
Schema.prototype.findReference
It would be good to have a
name
property for custom types defined in./types.js
for a Model. That I would be able to use proper types in ERD generationAdditional context https://github.com/metarhia/metagram/pull/2#issuecomment-842244870