@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.
@@ -410,8 +410,8 @@ class Router {
410
410
  }
411
411
  if (opts._includeValidateSearch && route.options.validateSearch) {
412
412
  const validate = ({ search: search3, next }) => {
413
+ const result = next(search3);
413
414
  try {
414
- const result = next(search3);
415
415
  const validatedSearch = {
416
416
  ...result,
417
417
  ...validateSearch(
@@ -421,6 +421,7 @@ class Router {
421
421
  };
422
422
  return validatedSearch;
423
423
  } catch {
424
+ return result;
424
425
  }
425
426
  };
426
427
  middlewares.push(validate);