Skip to content

Add StringSerializer#35

Merged
vshcryabets merged 4 commits into
masterfrom
fix/dev-string-serialization
Jul 16, 2025
Merged

Add StringSerializer#35
vshcryabets merged 4 commits into
masterfrom
fix/dev-string-serialization

Conversation

@vshcryabets
Copy link
Copy Markdown
Owner

No description provided.

@vshcryabets vshcryabets requested a review from Copilot July 15, 2025 16:00
@vshcryabets vshcryabets self-assigned this Jul 15, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces a new StringSerializer interface and its implementation for debugging purposes, wires it into the session dependency injection, adds tests for QID and Stat serialization, and removes the Closeable contract from the channel driver.

  • Add StringSerializer interface and StringSerializerImpl class with methods to serialize QID, Stat, and messages.
  • Add unit tests for serializeQid and serializeStat.
  • Extend StyxSessionDI and StyxSessionDIImpl to provide the new StringSerializer.
  • Remove Closeable from IChannelDriver interface.

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
java/v2soft/styxlib/l5/dev/StringSerializer.java New interface defining debug serialization methods
java/v2soft/styxlib/l5/v9p2000/StringSerializerImpl.java Implementation of QID, Stat, and message serialization
java/v2soft/styxlib/l5/v9p2000/StringSerializerImplTests.java Unit tests for serializeQid and serializeStat
java/v2soft/styxlib/utils/StyxSessionDI.java DI interface updated to expose StringSerializer
java/v2soft/styxlib/utils/StyxSessionDIImpl.java DI implementation updated to instantiate and return StringSerializerImpl
java/v2soft/styxlib/server/IChannelDriver.java Closeable removed from interface declaration

@vshcryabets vshcryabets merged commit c5b6773 into master Jul 16, 2025
2 checks passed
@vshcryabets vshcryabets deleted the fix/dev-string-serialization branch July 16, 2025 16:55
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