Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support opting in to IKeyedSerializer implementations on a per-type basis using an attribute #7438

Conversation

ReubenBond
Copy link
Member

@ReubenBond ReubenBond commented Dec 10, 2021

Supersedes #7385

This PR allows types to add an [EnableKeyedSerializer(typeof(MyKeyedSerializer))] attribute in order to configure the specified IKeyedSerializer implementation as the serializer to try before the fallback serializer is used.

It is not intended for end-users, since IKeyedSerializer is currently internal.

Microsoft Reviewers: Open in CodeFlow

@ReubenBond ReubenBond added this to the 3.6.0 milestone Dec 10, 2021
@ReubenBond ReubenBond force-pushed the v3/fix/eventhubbatchcontainer-body-serialization branch 5 times, most recently from 5ac1add to 44d037e Compare December 16, 2021 03:52
@ReubenBond ReubenBond force-pushed the v3/fix/eventhubbatchcontainer-body-serialization branch 2 times, most recently from a830d36 to adaef20 Compare January 4, 2022 17:55
@ReubenBond ReubenBond force-pushed the v3/fix/eventhubbatchcontainer-body-serialization branch from adaef20 to 21814d1 Compare January 4, 2022 17:57
@benjaminpetit benjaminpetit merged commit b18af63 into dotnet:3.x Jan 5, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Dec 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants