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 71 forks source link

Allow blueprints and field sets to be split repository #302

Closed ryanmitchell closed 2 weeks ago

ryanmitchell commented 2 weeks ago

This PR allows blueprints and field sets to be run in split repository mode, ie the blueprints could be eloquent driven and field sets file driven, or vice versa.

It also fixes some of the code introduced in https://github.com/statamic/eloquent-driver/pull/300 to handle methods that were missed initially.

jasonvarga commented 2 weeks ago

This is not push-back at all, but I'm just curious why someone would want blueprints in the db and fieldsets in files (and vice-versa).

ryanmitchell commented 2 weeks ago

So the use case for TV2 is form blueprints only in the DB, other blueprints and fieldsets as file.

jasonvarga commented 2 weeks ago

Ah yeah I remember that conversation. Thanks.