Skip to content

Improve serializer registration#3914

Merged
StefanOssendorf merged 3 commits into
mainfrom
dev/improve-serializer-registration
May 5, 2024
Merged

Improve serializer registration#3914
StefanOssendorf merged 3 commits into
mainfrom
dev/improve-serializer-registration

Conversation

@StefanOssendorf

Copy link
Copy Markdown
Contributor

Replace SerializationFormatter(Type formatterType) with a typesafe equivalent using generics.

Changed SerializationFormatter(Type formatterType) to SerializationFormatter<T>() where T: ISerializationFormatter because the resulting instance is hard castet to ISerializationFormatter.

@rockfordlhotka rockfordlhotka self-requested a review May 4, 2024 22:23
@StefanOssendorf StefanOssendorf merged commit 89bc195 into main May 5, 2024
@StefanOssendorf StefanOssendorf deleted the dev/improve-serializer-registration branch May 5, 2024 07:01
@github-actions

github-actions Bot commented May 6, 2025

Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

2 participants