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.61k stars 450 forks source link

Fix typo in docs/advanced/debugging.md #3186

Closed adamsoderstrom closed 1 year ago

adamsoderstrom commented 1 year ago

Summary

The changes in this PR updates a typo in documentation, regarding a function call. This could cause confusion for the readers of the documentation.

The statement is the following:

While it's possible to call client.subscsubscribeToDebugTarget in an exchange it's only valuable when creating a debugging

Besides the typo, the statement is true. Though, the typo assumes that the subscsubscribeToDebugTarget method is available on the client object, which it isn't.

Set of changes