statamic / eloquent-driver

Provides support for storing your Statamic data in a database, rather than flat files.
https://statamic.dev/tips/storing-content-in-a-database
MIT License
104 stars 73 forks source link

Entry import: follow makeModelFromContract() approach used in other imports #163

Closed ryanmitchell closed 1 year ago

ryanmitchell commented 1 year ago

Importing entries has been broken, not totally sure when we lost sync with core, but something has changed that stopped us getting a Eloquent entry class and instead a Stache entry class.

Luckily we have an approach that worked with the other repositories, so let's move entries to using that same approach.