approval
approval copied to clipboard
Approve new Model data before it is persisted
Results
2
approval issues
Sort by
recently updated
recently updated
newest added
My problem was discussed here: #63 and this should fix it. I created a new MustBeApprovedFactory trait that is required on any factory for this: ``` FakeModel::factory()->withoutApproval()->create() ``` to work.
I have a model with a field that stores data in a JSON db column. I am casting that data as "array" on the model. `protected $casts = [ 'types'...