graphql-network-inspector icon indicating copy to clipboard operation
graphql-network-inspector copied to clipboard

Request from / intercepted from service worker are not shown

Open janvanhelvoort opened this issue 1 year ago • 1 comments

Describe the bug Request from / intercepted from service worker are not shown, in my opinion, a couple of days / weeks ago, it worked, but now we don't see any request that are intercepted by MSW (https://mswjs.io) back in the inspector.

If we disable MSW, we see the requests, (so I can rule out storybook or something else), but we need mocking, so we don't go to the actual grapnel backend.

Expected behavior Show request, even when they are "local"

Screenshots image

image

janvanhelvoort avatar Jun 27 '24 09:06 janvanhelvoort

We did have a major update to the underlying network logic about two weeks ago, to capture pending requests. This makes use the the chrome.webRequest API which potentially is not picking up the MSW requests.

We don't have test cases for mocked data so it could have been missed in manual testing.

I'll run some examples to see if this is an easy fix.

warrenday avatar Jun 27 '24 11:06 warrenday