lonnieezell / Bonfire2

CodeIgniter 4-based application skeleton

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hardcoded config class prevents syncMeta() method being used outside Users module

dgvirtual opened this issue · comments

foreach (setting('Users.metaFields') as $group => $fields) {

I am not quite sure how to go about fixing this; most obvious seems to be repeating what is done in metaValidationRules() method - where the class name is provided as an argument. But could perhaps an entity class variable, inherited by trait HasMeta, be used?