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

Resources. Don't return a cached value when pass new args #4333

Merged
merged 1 commit into from Feb 20, 2024

Conversation

igordmn
Copy link
Collaborator

@igordmn igordmn commented Feb 19, 2024

The issue was because we cache the value in the current composition, and the next composition returns the cached value.

There weren't an issue if we just call one stringResource after another because those are different compositions.

Fixes #4325

The issue was because we cache the value in the current composition, and the next composition returns the cached value.

There weren't an issue if we just call one `stringResource` after another because those are different compositions.

Fixes #4325
@igordmn igordmn changed the title Resources. Don't return a cached value when pass new args. Resources. Don't return a cached value when pass new args Feb 19, 2024
@igordmn igordmn merged commit e14bf1c into master Feb 20, 2024
@igordmn igordmn deleted the igor.demin/fix-resource-args branch February 20, 2024 09:07
@igordmn igordmn added changelog: prerelease fix Fixes the bug introduced in alpha/beta/rc common Affects all platforms labels Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog: prerelease fix Fixes the bug introduced in alpha/beta/rc common Affects all platforms
Projects
None yet
Development

Successfully merging this pull request may close these issues.

stringResource cache issue with formatArgs
2 participants