Closed ryanmitchell closed 1 year ago
Fixes https://github.com/statamic/eloquent-driver/issues/198
When saving a collection for the first time in split config mode (file for collection config, eloquent for data), it will return a stache tree as the collection structure is designed to do this.
The work around is to not assume we get passed an eloquent collection tree.
Closing in favour of https://github.com/statamic/eloquent-driver/pull/203
Fixes https://github.com/statamic/eloquent-driver/issues/198
When saving a collection for the first time in split config mode (file for collection config, eloquent for data), it will return a stache tree as the collection structure is designed to do this.
The work around is to not assume we get passed an eloquent collection tree.