filter($builder, $args, $type); $this->constrainEagerLoads($builder, $resolveInfo, $type); return $builder->firstOrFail(); } }