Logan Houp

Results 18 comments of Logan Houp

Hey @ascorbic, I'm having some trouble serving a deploy preview locally or to netlify with the suspected problem line commented out in the build plugin to verify this, but I...

> Pages pre-rendered at build time will take priority over those rewrites (hance force= false), so the ODB handler will only be hit for pages that haven't been rendered. Ah,...

Are you sure? The test case here would be visiting a route that doesn't and wouldn't exist, so something like `/asdfasdfasdf`. This route isn't listed in the paths array returned...

So good news! The pages I noted above that should be pre-rendered were not due to a bug in the plugin. We overlooked a hidden default per_page count/limit in the...

> Also can we try keep massive logs [inside a \ tag](https://gist.github.com/scmx/eca72d44afee0113ceb0349dd54a84a2) 😎 Good idea. Updated!

@pixelino We've had to resort to wrapping our requests in a try/catch that manually returns 404 (`{ notFound: true }`) when this occurs while we evaluate other options. It's cumbersome...

@JohnGemstone Our solution looked something like this: ```JavaScript async function getStaticProps({ params: { slug } }) { let data try { ;({ data } = await yourSDKFunction(slug, yourSDKConfig)) } catch...

@inadeqtfuturs Same. I had really hoped this would've been solved by now. The workaround works for small cases like wrapping an SDK but it doesn't scale well for complex logic...

@inadeqtfuturs Have you had the opportunity to investigate if this affects all users or just you? Something else that may be worth sharing is that, at least in this case,...

@orinokai Great to hear! When I was briefly messing with this yesterday I threw together a simple demo of the reused responses pattern in `demos/default/getStaticProps/cachedResponses/[id].js` using the same TV Maze...