Matej Šnuderl

Results 44 comments of Matej Šnuderl

Thanks. With the recent developments to nextjs, it's in my opinion impossible to keep up to date as a third party library. I've been using Playwright for testing nextjs applications...

Playwright also has builtin network intercepting: https://playwright.dev/docs/network#handle-requests

Perhaps we could support both APIs, and the string path one would be for advanced use cases.

Hi @toomuchdesign , long time no see 🙂 I have a PR here for a feature I'm personally really excited about (yeah `getInitialProps` is not going anywhere anytime soon 😞...

- Its not retuning statusCode from `getInitialProps` but its writing to http response directly. This is the only way to redirect on server when using `getInitialProps` and essentially only way...

@toomuchdesign I understand the pain points of maintaining this, and appreciate all the work 🙏 - I think opening an issue to open up some discussion around the potential org,...

> @Meemaw what are your 2 cents? - One one hand its cool that this would work out of the box - On the other hand I always stub all...

Seems that `resource.name` for `next.request` is just `GET`, which kinda correlates to this code: https://github.com/DataDog/dd-trace-js/blob/master/packages/datadog-plugin-next/src/index.js#L101

Hi @kettanaito thanks for the answer. I agree that this could be solved with the `createItem` helper. We are using`@mswjs/data` to auto generate graph for a GraphQL API for frontend...