Skip to content

feat(repository): derive affected query dependencies - #841

Merged
omegent-app[bot] merged 1 commit into
mainfrom
t3code/derived-query-dependencies
Aug 3, 2026
Merged

feat(repository): derive affected query dependencies#841
omegent-app[bot] merged 1 commit into
mainfrom
t3code/derived-query-dependencies

Conversation

@omegent-app

@omegent-app omegent-app Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Why

Projected query caches need invalidation keys that follow entity relationships without replacing canonical repository invalidation.

What

Adds ID-scoped signal dependencies and optional additive repository write dependencies. Saves emit dependencies derived from both previous and next values; removals emit dependencies derived from the removed value.

How

Dependency sets normalize by domain and merge IDs. Repositories only load the previous row when the new option is configured, preserving existing write behavior and cost by default.

Remarks

This is the framework half of scanner PR #2138. pnpm lint-fix, pnpm check, and the infra repository test pass locally.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@omegent-app
omegent-app Bot marked this pull request as ready for review August 3, 2026 21:50
@pkg-pr-new

pkg-pr-new Bot commented Aug 3, 2026

Copy link
Copy Markdown

Open in StackBlitz

@effect-app/cli

npm i https://pkg.pr.new/effect-app/libs/@effect-app/cli@841

effect-app

npm i https://pkg.pr.new/effect-app/libs/effect-app@841

@effect-app/eslint-codegen-model

npm i https://pkg.pr.new/effect-app/libs/@effect-app/eslint-codegen-model@841

@effect-app/eslint-shared-config

npm i https://pkg.pr.new/effect-app/libs/@effect-app/eslint-shared-config@841

@effect-app/infra

npm i https://pkg.pr.new/effect-app/libs/@effect-app/infra@841

@effect-app/vue

npm i https://pkg.pr.new/effect-app/libs/@effect-app/vue@841

@effect-app/vue-components

npm i https://pkg.pr.new/effect-app/libs/@effect-app/vue-components@841

commit: 8cf52c8

@omegent-app
omegent-app Bot merged commit 8bd9a11 into main Aug 3, 2026
6 checks passed
@omegent-app
omegent-app Bot deleted the t3code/derived-query-dependencies branch August 3, 2026 21:52
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.

0 participants