public function resolveFilterFactory($resource, array $parameters = [], $version = null)
    {
        try {
            return $this->resolve('filterFactory', $resource, $parameters, $version);
        } catch (ResourceNotDefinedException $e) {
            return $this->app->make(ArrayFilterFactory::class, $parameters);
        }
    }