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

BelongsTo without 'get' prefix #82

Open
igormcoelho opened this issue Mar 24, 2020 · 0 comments
Open

BelongsTo without 'get' prefix #82

igormcoelho opened this issue Mar 24, 2020 · 0 comments

Comments

@igormcoelho
Copy link

Sorry if this is a stupid question, I'm not very expert on js, sequelize, or sequelize-mock.
I wonder if belongsTo {as : 'nickname'} relation should always create 'getNickname' prefix, because it seems that original sequelize just creates the given name (in this case, just 'nickname').

Thanks for this amazing project!

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

1 participant