Skip to content

feat(core): implement debug for readers and writers#7616

Open
officialasishkumar wants to merge 1 commit into
apache:mainfrom
officialasishkumar:feat/debug-reader-writer
Open

feat(core): implement debug for readers and writers#7616
officialasishkumar wants to merge 1 commit into
apache:mainfrom
officialasishkumar:feat/debug-reader-writer

Conversation

@officialasishkumar
Copy link
Copy Markdown

Which issue does this PR close?

Closes #6076.

Rationale for this change

Reader and Writer are useful to store inside downstream types that require Debug, and their current lack of debug output also makes operation context harder to inspect.

What changes are included in this PR?

  • Implement Debug for Reader and Writer using existing operation context.
  • Implement Debug for FuturesAsyncReader and FuturesAsyncWriter.
  • Add focused tests for reader and writer debug output.
  • Extend trait assertions to cover the new Debug bounds.

Are there any user-facing changes?

Reader, Writer, FuturesAsyncReader, and FuturesAsyncWriter now implement Debug.

AI Usage Statement

Not applicable.

Add Debug implementations for Reader, Writer, and their futures adapters using existing operation context such as scheme, root, path, args, and options.

Add focused tests for debug output and update trait assertions to cover the new Debug bounds.
@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. releases-note/feat The PR implements a new feature or has a title that begins with "feat" labels May 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

releases-note/feat The PR implements a new feature or has a title that begins with "feat" size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

suggestion: impl debug for reader, writer and more metadata

1 participant