Open
Description
Describe the bug
DynamoDbModel
is no calling initializeTraits()
method, introduced in 5.7 (https://github.com/laravel/framework/blob/5.7/src/Illuminate/Database/Eloquent/Model.php#L168).
Current package constructor implementation:
laravel-dynamodb/src/DynamoDbModel.php
Lines 70 to 79 in 9638116
This should be solved, without BC, by just calling the base constructor:
public function __construct(array $attributes = [])
{
parent::__construct($attributes);
$this->setupDynamoDb();
}
Schema
Debug info
Version info
- Laravel: 5.8
- laravel-dynamodb: 6.1
Metadata
Metadata
Assignees
Labels
No labels