When Nova goes to resolve a field value (e.g. Facility for City), this package currently fetches the related value (Facility) from the database without checking if it was previously eager loaded.
This patch yanks the logic from parent::resolve to check if the attribute being resolved is a relation that was previously eager loaded.
When Nova goes to resolve a field value (e.g. Facility for City), this package currently fetches the related value (Facility) from the database without checking if it was previously eager loaded.
This patch yanks the logic from
parent::resolve
to check if the attribute being resolved is a relation that was previously eager loaded.