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

Fixed bug where RedisGrainStorage would ignore GrainStorageSerializer option #8260

Conversation

willg1983
Copy link
Contributor

@willg1983 willg1983 commented Jan 13, 2023

Looks like the Redis persistence provider would use the the injected IGrainStorageSerializer and ignore the GrainStorageSerializer property set on the RedisGrainStorageOption. This PR fixes that by using the option property if it's not null, falling back to the injected IGrainStorageSerializer.

Microsoft Reviewers: Open in CodeFlow

@ReubenBond
Copy link
Member

Good catch! Looks good to me

@ReubenBond ReubenBond merged commit 8c44dab into dotnet:main Jan 13, 2023
@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