urql-graphql / urql-devtools

A tool for monitoring and debugging urql during development
https://formidable.com/open-source/urql/docs/advanced/debugging/#devtools
MIT License
257 stars 11 forks source link

@urql/core direct API calls are not shown #267

Closed desmap closed 4 years ago

desmap commented 4 years ago

I use a lot direct calls, e.g. client.mutation() for stuff like saving and these do not show up in the devtool. Other hook-based calls are shown.

andyrichardson commented 4 years ago

Hey @desmap thanks for reporting this. I'm going to flag this as a bug but we're going to need a little more info in order to work out what is going on.

We have a template project here which you could fork or feel free to provide some detailed steps / example code.

Other hook-based calls are shown.

FYI, it's possible that the exchange is only reporting hook based calls but this is unlikely. The interception of debugging events is done inside of the client so there shouldn't be any bias for hooks in particular.

Are you getting any errors in the console?

andyrichardson commented 4 years ago

@desmap I'm going to go ahead and close this as it's getting stale but feel free to drop a comment if you're able to provide more info!