Skip to content

Conversation

@omerfirmak
Copy link
Member

they don't really hurt, but they are not really needed either.

@omerfirmak omerfirmak requested a review from rjl493456442 as a code owner July 21, 2025 18:17
@rjl493456442
Copy link
Member

We chose this style deliberately.

Using an embedded struct can make it easy to overlook certain functions or forget to reference necessary hooks.
With the current implementation, you're forced to explicitly implement all the necessary methods.

@omerfirmak
Copy link
Member Author

Ok then, closing. But I believe that is a weak argument because it doesn't really force you to call the hooks. One might still end up in the situation you described.

@omerfirmak omerfirmak closed this Jul 22, 2025
@omerfirmak omerfirmak deleted the simplified-hookeddb branch July 22, 2025 06:51
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