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.57k stars 444 forks source link

RFC: Option to hide warnings when in development #3404

Closed johnpmitsch closed 8 months ago

johnpmitsch commented 9 months ago

Summary

Add a way to hide warnings, even in development. This is helpful when you are using urql in a library and the end library users are subjected to urql warnings that they can't do anything about while in development. For example, Heuristic Fragment Matching or Invalid undefined warnings.

Proposed Solution

Have an option hide warnings or a log-level option in the client initializer

Requirements