You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, thank you for this package, it's made my transition to Sequelize insanely easy!
I'm running into an issue w/ polymorphic relationships. On the sequelize docs, it mentions that I need to set a scope and a constraints on the HasMany side of the relationship and a constraints and as on the BelongsTo side). There's also unique, scope, and constraints options on the BelongsToMany relationships.
Would something like a function overload be possible here to allow us to pass in the additional options w/ an object?
First off, thank you for this package, it's made my transition to Sequelize insanely easy!
I'm running into an issue w/ polymorphic relationships. On the sequelize docs, it mentions that I need to set a
scope
and aconstraints
on theHasMany
side of the relationship and aconstraints
andas
on theBelongsTo
side). There's alsounique
,scope
, andconstraints
options on theBelongsToMany
relationships.Would something like a function overload be possible here to allow us to pass in the additional options w/ an object?
The text was updated successfully, but these errors were encountered: