Skip to content

Add BeforeUpdateSetterHooks#617

Open
toqueteos wants to merge 1 commit into
stephenafamo:mainfrom
toqueteos:feat/add-beforeupdatesetter-hook
Open

Add BeforeUpdateSetterHooks#617
toqueteos wants to merge 1 commit into
stephenafamo:mainfrom
toqueteos:feat/add-beforeupdatesetter-hook

Conversation

@toqueteos

Copy link
Copy Markdown
Contributor

A BeforeUpdate hook that surfaces the Setter seems useful (and apparently something people have been wanting from some time ago #295)

Also it seems to address the issue from #616

The same can probably be done for BeforeDelete.

@stephenafamo

Copy link
Copy Markdown
Owner

Also it seems to address the issue from #616

How does it address #616?

@toqueteos

toqueteos commented Feb 6, 2026

Copy link
Copy Markdown
Contributor Author

Also it seems to address the issue from #616

How does it address #616?

I ran the example repo linked with my change and BeforeUpdate is still not being called but my new BeforeUpdateSetterHooks is.

The existing BeforeUpdate won't ever be called for non slice results because the hook is only defined in Tslice.

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