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

Fix UseSystemTextJsonForSerialization customization #720

Conversation

drmohundro
Copy link
Contributor

UseSystemTextJsonForSerialization configuration isn't respecting any configuration passed in for Azure Service Bus (and possibly other messaging options). This is because the initial WolverineOptions calls over to UseSystemTextJsonForSerialization without any parameters, so _defaultSerializer gets set. Then the ??= means it never takes the right side.

This should resolve this issue.

(I briefly looked at creating a test for this, but I wasn't sure if it might belong under configuration or serialization tests... categorization is hard)

Closes #717

@jeremydmiller jeremydmiller merged commit dd8dee1 into JasperFx:main Feb 9, 2024
1 check passed
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.

UseSystemTextJsonForSerialization isn't respecting settings for Azure Service Bus
2 participants