You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a dynamic route exists that uses fallback=blocking or ISR, and so needs an ODB, we generate a rewrite pointing at the ODB handler. However we don't do the same for SSR routes, and instead rely on falling-through to a root-level rewrite pointing at the regular handler. This means that if a specific SSR route also matches a dynamic ODB route then it doesn't fall through, meaning that it is served by the wrong handler. This causes issues such as #1068 but possibly more subtle ones that aren't as immediately obvious as a missing query param.
The fix is to generate rewrites for every route, which we had hoped to avoid as it can mean a lot of rules. Alternatively, work out a way to normalise and combine rules that match the same requests.
The text was updated successfully, but these errors were encountered:
If a dynamic route exists that uses fallback=blocking or ISR, and so needs an ODB, we generate a rewrite pointing at the ODB handler. However we don't do the same for SSR routes, and instead rely on falling-through to a root-level rewrite pointing at the regular handler. This means that if a specific SSR route also matches a dynamic ODB route then it doesn't fall through, meaning that it is served by the wrong handler. This causes issues such as #1068 but possibly more subtle ones that aren't as immediately obvious as a missing query param.
The fix is to generate rewrites for every route, which we had hoped to avoid as it can mean a lot of rules. Alternatively, work out a way to normalise and combine rules that match the same requests.
The text was updated successfully, but these errors were encountered: