Skip to content

feat(database/gdb): support multiple chained hooks#4745

Draft
UncleChair wants to merge 3 commits into
gogf:feat/v3from
UncleChair:feat/v3
Draft

feat(database/gdb): support multiple chained hooks#4745
UncleChair wants to merge 3 commits into
gogf:feat/v3from
UncleChair:feat/v3

Conversation

@UncleChair

Copy link
Copy Markdown
Contributor
  1. Remove Next() function to prevent users controlling hook process, in case the hook chain is blocked by some wrong usage with missing in.Next(), the new 'next' process is done internally
  2. Support multiple hook register in Hook() function and added chain calling support for multiple hooks
  3. Updated related test cases
  4. fixed some lint problems

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