@tanstack/solid-router 1.108.0 → 1.109.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -412,8 +412,8 @@ class Router {
412
412
  }
413
413
  if (opts._includeValidateSearch && route.options.validateSearch) {
414
414
  const validate = ({ search: search3, next }) => {
415
+ const result = next(search3);
415
416
  try {
416
- const result = next(search3);
417
417
  const validatedSearch = {
418
418
  ...result,
419
419
  ...validateSearch(
@@ -423,6 +423,7 @@ class Router {
423
423
  };
424
424
  return validatedSearch;
425
425
  } catch {
426
+ return result;
426
427
  }
427
428
  };
428
429
  middlewares.push(validate);