Skip to content
New issue

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

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

Already on GitHub? # to your account

minor: Provide Debug impl for pub structs #73 #92

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

DeaconDesperado
Copy link
Contributor

Fixes #73 by:

  • auto-deriving Debug in cases where all fields are formattable
  • providing a manual implementation for cases where fields are not themselves formattable
    • Sole case is ManifestListWriter's avro_writer, in which case the schema of the writer is the only value printed

Copy link
Collaborator

@liurenjie1024 liurenjie1024 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@DeaconDesperado
Copy link
Contributor Author

Rebased and resolved conflicts.

Copy link
Contributor

@Fokko Fokko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @DeaconDesperado for raising this, and @liurenjie1024 and @Xuanwo for the review 🙌

@Fokko Fokko merged commit b5daa24 into apache:main Nov 13, 2023
6 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Debug trait for public structs
4 participants