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

Allow Middleware to set its matcher #37177

Merged

Commits on May 31, 2022

  1. Allow middleware to set its matcher

    therefore allowing Middleware to be specific to the given routes by
    setting the following config:
    
    ```ts
    export const config = {
      matching: ['/will-use-middleware/:path*']
    }
    ```
    Schniz committed May 31, 2022
    Configuration menu
    Copy the full SHA
    c9f2431 View commit details
    Browse the repository at this point in the history
  2. pnpm-lock.yaml

    Schniz committed May 31, 2022
    Configuration menu
    Copy the full SHA
    ab3bf67 View commit details
    Browse the repository at this point in the history
  3. remove console.log

    Schniz committed May 31, 2022
    Configuration menu
    Copy the full SHA
    ab39fe1 View commit details
    Browse the repository at this point in the history
  4. shorten the teranry

    Schniz committed May 31, 2022
    Configuration menu
    Copy the full SHA
    3b73fce View commit details
    Browse the repository at this point in the history
  5. Rename matching to matcher

    Schniz committed May 31, 2022
    Configuration menu
    Copy the full SHA
    da7572c View commit details
    Browse the repository at this point in the history
  6. Add a singular matcher test

    Schniz committed May 31, 2022
    Configuration menu
    Copy the full SHA
    617c427 View commit details
    Browse the repository at this point in the history
  7. Add validation

    Schniz committed May 31, 2022
    Configuration menu
    Copy the full SHA
    5472dd4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d7399cf View commit details
    Browse the repository at this point in the history
  9. Rewording the validations

    Schniz committed May 31, 2022
    Configuration menu
    Copy the full SHA
    8e882d0 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2022

  1. Configuration menu
    Copy the full SHA
    740baff View commit details
    Browse the repository at this point in the history