-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor serialization adapter retrieval by version (#1066)
This PR prepares for #1063 by moving the `initializeAdapter` declaration from `FixSerializationConfig` to `SerializationVersionAdapter`. This change ensures that version-specific serializations are handled directly by `SerializationVersionAdapter`, which will simplify test modifications in #1063. This transition also aligns with a clearer design, as `SerializationVersionAdapter` should be responsible for computing the appropriate adapter for each new version. This approach will help us maintain version updates within `SerializationVersionAdapter` while keeping `FixSerializationConfig` unchanged. I'm uncertain if maintaining backward compatibility is necessary in the long term. If it's not needed, we can consider removing it in the future. For now, however, this PR is required to keep #1063 concise.
- Loading branch information
1 parent
e9541e3
commit 17fc1ba
Showing
2 changed files
with
30 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters