obmarg / graphql-ws-client

A GraphQL over Websockets implementation for Rust
Apache License 2.0
39 stars 15 forks source link

Add derive Debug to Client #99

Closed carlocorradini closed 5 months ago

carlocorradini commented 5 months ago

Add derive Debug to Client

obmarg commented 5 months ago

Can you expand on why you want this a little @carlocorradini? What information do you need about a Client that you'd like the Debug impl to output?

carlocorradini commented 5 months ago

It's just because of a rule of good practice. A struct typically derives Debug and/or Clone. It should be feasible for a user's struct to derive Debug, however at the moment this isn't possible because Client doesn't derive Debug.