Skip to content

[Fix] Refresh watched queries on schema update#42

Open
LucDeCaf wants to merge 7 commits intomainfrom
fix/watch-schema-update
Open

[Fix] Refresh watched queries on schema update#42
LucDeCaf wants to merge 7 commits intomainfrom
fix/watch-schema-update

Conversation

@LucDeCaf
Copy link
Contributor

@LucDeCaf LucDeCaf commented Feb 12, 2026

There's a niche but important issue with watched queries where they can sometimes resolve to the wrong tables after a schema update. This fixes that by modifying the WatchSubscription class and Watch/WatchInternal methods to track the current OnChange listener, and to dispose of it and create a new one on schema changes (which re-resolves tables).

@LucDeCaf LucDeCaf marked this pull request as ready for review February 12, 2026 15:14
@LucDeCaf LucDeCaf requested a review from Chriztiaan February 12, 2026 15:16
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