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

feat(handler): ability to override default on request event #2939

Merged
merged 6 commits into from Jan 16, 2023

Conversation

brunozoric
Copy link
Contributor

Changes

This PR adds a HandlerOnRequestPlugin via which user can prevent our default OPTIONS request handling.

How Has This Been Tested?

Jest and manually.

@brunozoric brunozoric changed the title Feat/handler/ability to override default on request feat(handler): ability to override default on request event Jan 12, 2023
@brunozoric brunozoric self-assigned this Jan 12, 2023
@brunozoric brunozoric added this to the 5.34.1 milestone Jan 12, 2023
@brunozoric brunozoric marked this pull request as ready for review January 12, 2023 15:20
@brunozoric brunozoric modified the milestones: 5.34.1, 5.34.0 Jan 13, 2023
@brunozoric brunozoric changed the base branch from next to dev January 13, 2023 12:56
…equest

# Conflicts:
#	packages/handler/src/fastify.ts
#	packages/handler/src/index.ts
@brunozoric brunozoric merged commit dd91de0 into dev Jan 16, 2023
@brunozoric brunozoric deleted the feat/handler/ability-to-override-default-on-request branch January 19, 2023 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants