Skip to content

Support configuring ILBasedSerializer and BinaryFormatterISerializableSerializer as pre-fallback serializers #7384

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

Merged

Conversation

ReubenBond
Copy link
Member

@ReubenBond ReubenBond commented Nov 9, 2021

This allows a developer to configure ILBasedSerializerOptions or BinaryFormatterISerializableSerializerOptions and set their respective IsFallbackOnly properties to false to revert serializer behavior to pre-3.5.0.

The optimum solution if you are considering this is to add [Serializable] to your types and ensure that the code generator is generating code for your types, but this PR gives you an alternative route.

Microsoft Reviewers: Open in CodeFlow

@ReubenBond ReubenBond added this to the 3.6.0 milestone Nov 9, 2021
@ReubenBond ReubenBond force-pushed the v3/support-non-fallback-keyed-serializers branch from ab76997 to 1d029a1 Compare November 9, 2021 19:40
@benjaminpetit benjaminpetit merged commit 2c7d0a0 into dotnet:3.x Dec 17, 2021
@ReubenBond ReubenBond deleted the v3/support-non-fallback-keyed-serializers branch June 14, 2022 17:44
@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