gasket icon indicating copy to clipboard operation
gasket copied to clipboard

Re-added nextPreHandling lifecycle.

Open kawikabader opened this issue 2 years ago • 1 comments

Summary

There is a need to execute logic before next.js handles a request (ie. middleware). This code was pulled directly from a PR that was submitted by @jpage-godaddy 👏🏻 .

Changelog

Add a preNextHandling lifecycle

Test Plan

Added unit tests.

kawikabader avatar Aug 15 '22 17:08 kawikabader

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
11.0% 11.0% Duplication

sonarqubecloud[bot] avatar Aug 18 '22 18:08 sonarqubecloud[bot]