eloquent-driver
eloquent-driver copied to clipboard
CollectionRepository does not use custom models
The driver allows to specify a different EntryModel in config/statamic-eloquent-driver.php by setting entries.model.

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

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