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
When discovering Eloquent models it would be really useful to allow for some of the underlying table columns to be suppressed by respecting the "hidden" property of the Model. I very rarely want to expose every column of my tables.
In the SQLSchema trait I think we just need something along the lines of this (after checking we are in an EloquentEntitySet and $this->model is set) $blacklist = array_merge( $blacklist, $this->getModel()->getHidden());
The text was updated successfully, but these errors were encountered:
When discovering Eloquent models it would be really useful to allow for some of the underlying table columns to be suppressed by respecting the "hidden" property of the Model. I very rarely want to expose every column of my tables.
In the SQLSchema trait I think we just need something along the lines of this (after checking we are in an EloquentEntitySet and $this->model is set)
$blacklist = array_merge( $blacklist, $this->getModel()->getHidden());
The text was updated successfully, but these errors were encountered: