whitecube / nova-flexible-content

Flexible Content & Repeater Fields for Laravel Nova
MIT License
780 stars 229 forks source link

How to seed a model that uses flexible-content #427

Open tonnyorg opened 1 year ago

tonnyorg commented 1 year ago

Hello,

I've been using this module and so far it is so cool, I'm only facing a couple problems here, one is already described and listed in #412 + the next issue is how to seed a model (via seeders) that makes uses of this component, I mean I know about my fields and so but at DB level I see you guys store a more complex object that includes layout, key and a few other properties; that said, what would be the best way to seed models's columns that make use of this library?