Skip to content

feat: migrate mutationScope generation to generateQueries#67

Open
arlindaxhemailii wants to merge 1 commit into
feat/3.0.0from
feat/mutation-scope-v2
Open

feat: migrate mutationScope generation to generateQueries#67
arlindaxhemailii wants to merge 1 commit into
feat/3.0.0from
feat/mutation-scope-v2

Conversation

@arlindaxhemailii
Copy link
Copy Markdown
Collaborator

Summary

Re-implements mutationScope support in the active TypeScript query generation flow (generateQueries.ts).

Background

The original mutationScope implementation was built on top of the Handlebars-based query generator that existed on main at the time. During the merge with the include-tags work, query generation had already been migrated to the TypeScript generator, so the restored Handlebars files were no longer part of the active generation path.

As a result, the mutationScope option was present but was not being applied by the current generator.

Changes

  • Re-implement mutationScope generation in generateQueries.ts
  • Remove legacy Handlebars generation files restored during the merge
  • Fix mutationEffects + mutationScope interaction in mutation callbacks
  • Verify generated mutation hooks correctly produce scoped mutations

Implement mutationScope support in the TypeScript query generator and
remove legacy Handlebars generation files introduced during the merge.
@arlindaxhemailii arlindaxhemailii requested a review from xban1x May 26, 2026 23:34
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.

1 participant