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.6k stars 448 forks source link

feat(persisted): Allow nullish hashes for skipping persisted logic #3324

Closed kitten closed 1 year ago

kitten commented 1 year ago

Summary

This allows generateHash to resolve to null | undefined, effectively allowing the persisted logic to be skipped selectively for individual operations.

Set of changes