metaschema
metaschema copied to clipboard
Save custom domain type name
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
Additional context https://github.com/metarhia/metagram/pull/2#issuecomment-842244870
You may use:
-
Model.prototype.types
-
Schema.prototype.findType
-
Schema.prototype.findReference