Skip to content

Making DataLoaderOptions immutable #176

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
merged 1 commit into from
Feb 21, 2025

Conversation

bbakerman
Copy link
Member

DataLoaderOptions was not immutable and this can lead to bugs now that we have DataLoader + builders + transformation

environmentProvider = NULL_PROVIDER;
valueCacheOptions = ValueCacheOptions.newOptions();
valueCacheOptions = DEFAULT_VALUE_CACHE_OPTIONS;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@bbakerman bbakerman merged commit cf79290 into master Feb 21, 2025
1 check passed
@dondonz dondonz added this to the 4.0.0 milestone Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants