Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save custom domain type name #326

Open
nechaido opened this issue May 19, 2021 · 1 comment
Open

Save custom domain type name #326

nechaido opened this issue May 19, 2021 · 1 comment

Comments

@nechaido
Copy link
Member

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
metarhia/metagram#2 (comment)

@tshemsedinov
Copy link
Member

You may use:

  • Model.prototype.types
  • Schema.prototype.findType
  • Schema.prototype.findReference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants