BlinkUX / sequelize-mock

A simple mock interface specifically for testing code relying on Sequelize models
https://sequelize-mock.readthedocs.io
MIT License
139 stars 73 forks source link

BelongsTo without 'get' prefix #82

Open igormcoelho opened 4 years ago

igormcoelho commented 4 years ago

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!