Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 9, 2025

Extracts ISerializer and related interfaces into a dedicated file to match the existing pattern where IDeserializer has its own file.

Changes

New file: ISerializer.cs

  • ISerializer - Core serializer interface
  • ISerializeExt - Extension methods for ISerializer
  • ITypeSerializer - Type serializer interface for non-primitive types
  • ITypeSerializerExt - Extension methods for ITypeSerializer

Updated: ISerialize.cs

  • Removed serializer interfaces (moved to ISerializer.cs)
  • Retained serialization logic interfaces: ISerialize<T>, ITypeSerialize<T>, and provider types
  • Removed unused imports (System.Diagnostics, System.Runtime.CompilerServices)

This establishes symmetry with the deserialization side where IDeserialize.cs contains logic interfaces and IDeserializer.cs contains deserializer interfaces.

Original prompt

Can you split ISerializer into its own file, like IDeserializer?


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI self-assigned this Nov 9, 2025
Copilot AI changed the title [WIP] Split ISerializer interface into its own file Split ISerializer into its own file Nov 9, 2025
Copilot AI requested a review from agocke November 9, 2025 03:24
@agocke agocke marked this pull request as ready for review November 9, 2025 03:55
@agocke agocke merged commit 521b594 into main Nov 9, 2025
2 checks passed
@agocke agocke deleted the copilot/split-iserializer-into-file branch November 9, 2025 03:56
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