Repository navigation
v1.2.0 - NonVersionedModel support
warning: breaking change
- If you use NonVersionedModel - pay attention, it's a different class now.
- If you for any reason override default BaseRepository methods - make sure you use BaseModel, not VersionedModel in method definitions
Changes
- Created new BaseModel class as the unversioned base class with entity_id and extra fields
- VersionedModel now inherits from BaseModel, adding Big 6 versioning fields (version, previous_version, active, changed_by_id, changed_on)
- NonVersionedModel is now an alias for BaseModel instead separate class
- BaseRepository updated: handles both versioned and non-versioned models through inheritance