Skip to content

v1.0.355

@daftspunk daftspunk tagged this 06 Aug 05:59
Is there really a need to pipe the results though getModels? Possibly true if you wanted to access a mutated attribute, this doesn't make sense though because mutators would generally require all the attributes available to do their job correctly. If this is really needed ->get()->lists() can be used.
This also stops the afterFetch event from firing on empty models
Assets 2