Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] implement event handler object syntax #424

Closed
1 task done
Hebilicious opened this issue Jul 5, 2023 · 0 comments · Fixed by #485
Closed
1 task done

[feature] implement event handler object syntax #424

Hebilicious opened this issue Jul 5, 2023 · 0 comments · Fixed by #485
Assignees
Labels
enhancement New feature or request

Comments

@Hebilicious
Copy link
Member

Hebilicious commented Jul 5, 2023

Describe the feature

this will enable scoped middlewares

defineEventHandler({ handler: () => {}, before: [], after: [] })

Additional information

  • Would you be willing to help implement this feature?
@Hebilicious Hebilicious added the enhancement New feature or request label Jul 5, 2023
@Hebilicious Hebilicious changed the title [feature] add event handler object syntax [feature] implement event handler object syntax Jul 5, 2023
@pi0 pi0 self-assigned this Jul 10, 2023
@Hebilicious Hebilicious pinned this issue Jul 25, 2023
@pi0 pi0 unpinned this issue Jul 25, 2023
@danielroe danielroe self-assigned this Aug 3, 2023
@pi0 pi0 closed this as completed in #485 Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants