nullable) { return Type::nonNull($this->type); } return $this->type; } /** * The pagination type if applicable. */ public function paginationType(): PaginationType { return PaginationType::NONE; } /** * Resolve the relation. * * @param array $args */ public function resolve(Model $root, array $args): mixed { return $root->{$this->relationName}; } }