Improve to ResourceTrait:fields
githubjeka opened this issue · 1 comments
githubjeka commented
Active Record uses fields() by default and it expected when work by API.
Your implement return always [] attributes.
But removal of this method would create another issue. Because ResourceTrait may be used in others non ActiveRecord classes. Probably it requires more efficient approach.