Skip to content

fix GenericSetting onchanged#5787

Merged
Wide-Cat merged 3 commits into
MeteorDevelopment:masterfrom
crosby-moe:fix/generic-setting-onchanged
Oct 21, 2025
Merged

fix GenericSetting onchanged#5787
Wide-Cat merged 3 commits into
MeteorDevelopment:masterfrom
crosby-moe:fix/generic-setting-onchanged

Conversation

@crosby-moe

Copy link
Copy Markdown
Collaborator

Type of change

  • Bug fix
  • New feature

Description

supercedes #5780's changes to GenericSetting

onChanged consumers can be expensive, which is why they should only be called whenever the inner settings change, not whenever the setting screen closes
this means that the burden of calling onChanged falls to the implementor of the GenericSetting-compatible object

this pull request also unifies the interfaces required to use GenericSetting into a single interface, IGeneric

How Has This Been Tested?

the J

Checklist:

  • My code follows the style guidelines of this project.
  • I have added comments to my code in more complex areas.
  • I have tested the code in both development and production environments.

@Wide-Cat Wide-Cat merged commit d79f58c into MeteorDevelopment:master Oct 21, 2025
1 check passed
MistressOfDNS pushed a commit to MistressOfDNS/meteor-client-fork that referenced this pull request May 7, 2026
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.

2 participants