Skip to content

Add methods to HookPart and make them canonical#198

Draft
msullivan wants to merge 1 commit into
mainfrom
hooks-ohno-2
Draft

Add methods to HookPart and make them canonical#198
msullivan wants to merge 1 commit into
mainfrom
hooks-ohno-2

Conversation

@msullivan

Copy link
Copy Markdown
Contributor

No description provided.

@msullivan
msullivan requested a review from anbuzin July 9, 2026 04:29
@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ai-python Ready Ready Preview, Comment Jul 10, 2026 10:41pm

@anbuzin

anbuzin commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

i don't know how i feel about this. my two reservations are: (1) there's now two ways of doing the same thing, and (2) these methods don't interact with hook's state, they reach into the global state, which feels a little off.

@anbuzin

anbuzin commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

is this a major ergonomics pain that you have to pass those hooks into functions?

@msullivan
msullivan marked this pull request as draft July 10, 2026 01:15
@anbuzin anbuzin added the breaking Breaking change to the public API label Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking Breaking change to the public API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants