Alex Bern

Results 3 issues of Alex Bern

Is this possible to attach behavior twice or more? For example imagine that base model "post" has more than one 'tags' relation. It can be "tags", "materials", "locations", "dates" etc.

question

My AR looks like that: ``` public function getItemTagRelations() { return $this->hasMany(ItemTagRelation::className(), ['item_id' => 'item_id']); } public function getTags() { return $this->hasMany(Tag::className(), ['tag_id' => 'tag_id']) ->via('itemTagRelations'); } ``` and i...

# Fixes # **Motivation** This PR addresses an inconsistency in the TypeScript type definition for the Attachment model that prevents proper use of TypeScript with the library. **Issue** The Attachment...