[12.x] Fix Factory@insert() to allow for array casts
#57794
Merged
Loading
Factory@insert() to allow for array casts
#57794