Open nelson6e65 opened 1 year ago
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).
DynamoDbModel
initializeTraits()
Current package constructor implementation: https://github.com/baopham/laravel-dynamodb/blob/963811691313124e7562a02aefdcc31fdbd75e78/src/DynamoDbModel.php#L70-L79
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
Describe the bug
DynamoDbModel
is no callinginitializeTraits()
method, introduced in 5.7 (https://github.com/laravel/framework/blob/5.7/src/Illuminate/Database/Eloquent/Model.php#L168).Current package constructor implementation: https://github.com/baopham/laravel-dynamodb/blob/963811691313124e7562a02aefdcc31fdbd75e78/src/DynamoDbModel.php#L70-L79
This should be solved, without BC, by just calling the base constructor:
Schema
-
Debug info
-
Version info