urql-graphql / urql

The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
https://urql.dev/goto/docs
MIT License
8.63k stars 451 forks source link

feat(graphcache): debug logs for cache misses #3446

Closed JoviDeCroock closed 10 months ago

JoviDeCroock commented 10 months ago

Resolves #3382

Summary

This will log when we are missing a field on a selection, this can be useful for debugging cache misses in development. This is opt-in by defining the new logger interface and listening for debug logs.

changeset-bot[bot] commented 10 months ago

🦋 Changeset detected

Latest commit: 83d4429c68b9efe6dd8e2ee2695636d6cbbc122f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ------------------------- | ----- | | @urql/exchange-graphcache | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR