You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In ModelResourceComponentBuilder@getPropertiesFromSchema, columns are filtered to exclude fillable properties
return collect($columns)
->filter(
function (Column$column) use ($resourceModel) {
return !$resourceModel->isFillable($column->getName());
}
)
That code has been in place for about 2 years, but it still seems to be an error. BaseModelComponentBuilder has a similar function, but has the reverse filter - including only fillable properties. And we're having to override the class to reverse the filter in order to get a corrected schema.
Am I overlooking a reason why this is intended behavior, or can that ! be removed?
The text was updated successfully, but these errors were encountered:
In ModelResourceComponentBuilder@getPropertiesFromSchema, columns are filtered to exclude fillable properties
That code has been in place for about 2 years, but it still seems to be an error. BaseModelComponentBuilder has a similar function, but has the reverse filter - including only fillable properties. And we're having to override the class to reverse the filter in order to get a corrected schema.
Am I overlooking a reason why this is intended behavior, or can that
!
be removed?The text was updated successfully, but these errors were encountered: