Skip to content

Renamed EffectInfoResolver into EffectStackDataResolver.#44

Merged
lextatic merged 2 commits into
mainfrom
feature/rename-effect-info-resolver
Jul 25, 2026
Merged

Renamed EffectInfoResolver into EffectStackDataResolver.#44
lextatic merged 2 commits into
mainfrom
feature/rename-effect-info-resolver

Conversation

@lextatic

Copy link
Copy Markdown
Contributor

Changed

  • Renamed EffectInfoResolver into EffectStackDataResolver.
  • Also renamed GetEffectInfo to GetEffectStackData.

@lextatic lextatic added the changed Changes in existing functionality label Jul 25, 2026
@lextatic
lextatic requested a review from Copilot July 25, 2026 03:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Renames the statescript resolver and related APIs to better reflect that the queried data is stack/application aggregate data, and updates all in-repo usages (tests + docs) accordingly.

Changes:

  • Renamed EffectInfoResolverEffectStackDataResolver and EffectInfoTypeEffectStackDataType.
  • Renamed EffectsManager.GetEffectInfo(...)GetEffectStackData(...).
  • Updated tests and documentation references/examples to the new names.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
Forge/Statescript/Properties/EffectStackDataType.cs Renames the enum used to select which stack aggregate to compute.
Forge/Statescript/Properties/EffectStackDataResolver.cs Renames the resolver and updates it to call GetEffectStackData.
Forge/Effects/EffectsManager.cs Renames the manager query method to GetEffectStackData and updates summary docs.
Forge.Tests/Statescript/Resolvers/ActiveEffectResolverTests.cs Updates resolver test to use the new resolver/type names.
Forge.Tests/Statescript/Nodes/State/EffectNodeTests.cs Updates test assertions to call GetEffectStackData.
Forge.Tests/Statescript/Nodes/Action/ApplyEffectNodeTests.cs Updates test assertions to call GetEffectStackData.
Forge.Tests/Effects/TargetTagRequirementsComponentTests.cs Updates stack data assertions to call GetEffectStackData.
Forge.Tests/Effects/EffectsTests.cs Updates stack data assertions to call GetEffectStackData.
docs/statescript/resolvers/README.md Updates resolver list entry to the new resolver name/link.
docs/statescript/resolvers/query-active-effects-resolver.md Updates “See also” link to the renamed resolver doc.
docs/statescript/resolvers/effect-stack-data-resolver.md Updates the resolver documentation to reflect new names and API usage.
docs/effects/README.md Updates docs reference from GetEffectInfo to GetEffectStackData.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Forge/Effects/EffectsManager.cs Outdated
@lextatic lextatic added skip-changelog PRs with this label won't show up on release notes and removed changed Changes in existing functionality labels Jul 25, 2026
@lextatic
lextatic merged commit 362cc2d into main Jul 25, 2026
1 check passed
@lextatic
lextatic deleted the feature/rename-effect-info-resolver branch July 25, 2026 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog PRs with this label won't show up on release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants