Skip to content

allow overwriting hook properties#3867

Merged
SteffenDE merged 1 commit intomainfrom
sd-allow-prop-overwrite
Jun 30, 2025
Merged

allow overwriting hook properties#3867
SteffenDE merged 1 commit intomainfrom
sd-allow-prop-overwrite

Conversation

@SteffenDE
Copy link
Collaborator

This is required for backwards compatibility. When re-writing the code to support giving classes, I added a check to prevent overwriting the hook's own properties, but this is actually used by hooks in the wild, so we only log a warning instead.

@SteffenDE SteffenDE added this to the v1.1 milestone Jun 30, 2025
This is required for backwards compatibility. When re-writing the code
to support giving classes, I added a check to prevent overwriting the hook's
own properties, but this is actually used by hooks in the wild, so we only
log a warning instead.
@SteffenDE SteffenDE force-pushed the sd-allow-prop-overwrite branch from 34e71a4 to 1f107e7 Compare June 30, 2025 08:40
@SteffenDE SteffenDE merged commit 35e77a1 into main Jun 30, 2025
6 of 14 checks passed
SteffenDE added a commit that referenced this pull request Jun 30, 2025
This is required for backwards compatibility. When re-writing the code
to support giving classes, I added a check to prevent overwriting the hook's
own properties, but this is actually used by hooks in the wild, so we only
log a warning instead.
@SteffenDE SteffenDE deleted the sd-allow-prop-overwrite branch July 4, 2025 21: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