yii2tech / ar-variation

Variation behavior for ActiveRecord
Other
48 stars 10 forks source link

`VariationBehavior` should not declare `defaultVariationRelation` by default #13

Closed klimov-paul closed 8 years ago

klimov-paul commented 8 years ago

VariationBehavior should not declare defaultVariationRelation by default. It may cause confusion error message in case of magic __set() invoked, while defaultVariationRelation is not specified, which is valid use case.

klimov-paul commented 8 years ago

Resolved by commit babbe23ee0b227040e202a226c246c02faf843d0