eloquent-driver icon indicating copy to clipboard operation
eloquent-driver copied to clipboard

CollectionRepository does not use custom models

Open isarphilipp opened this issue 4 years ago • 0 comments

The driver allows to specify a different EntryModel in config/statamic-eloquent-driver.php by setting entries.model.

image

However, the CollectionRepository is currently hardcoded to use the shipped EntryModel:

image

This leads to errors when updating entries. A PR will be provided to fix it.

isarphilipp avatar Oct 20 '21 14:10 isarphilipp