Skip to content

Add Debug impls. #538

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 18, 2020
Merged

Add Debug impls. #538

merged 3 commits into from
Feb 18, 2020

Conversation

richard-uk1
Copy link
Contributor

I added/modified some of the Debug implementations to help me make sense of why some of my queries didn't work as expected (spoiler alert: I had semantic errors in the queries). I thought these additions might be useful to the community.

This commit makes the following changes

  • Add an opaque Debug impl for Client.
  • Add a rich Debug impl for Row.
  • Make the Debug impl for Type clearer.
  • Change the Debug for Column to be slightly neater.

@richard-uk1
Copy link
Contributor Author

Removed value-debug and rebased.

This commit makes the following changes

 - Add an opaque `Debug` impl for `Client`.
 - Add a rich `Debug` impl for `Row`.
 - Make the `Debug` impl for `Type` clearer.
 - Change the `Debug` for `Column` to be slightly neater.
@richard-uk1
Copy link
Contributor Author

Rebased again. Could you let me know if you're unlikely to accept this PR?

@sfackler
Copy link
Owner

Merged, sorry for the delay!

@sfackler sfackler merged commit 89ea051 into sfackler:master Feb 18, 2020
@richard-uk1
Copy link
Contributor Author

No worries, sorry if I was pushy :)

@richard-uk1 richard-uk1 deleted the add_debug_impls branch February 18, 2020 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants