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

Add optional generic parameter to NextResponse #47526

Merged
merged 10 commits into from
May 19, 2023
Merged

Add optional generic parameter to NextResponse #47526

merged 10 commits into from
May 19, 2023

Commits on Mar 25, 2023

  1. Add optional generic parameter to NextResponse

    Allow for type checking the return type of a Route Handler in the `app/` directory
    
    Prior art (NextApiResponse in `pages/` directory): #7841
    karlhorky committed Mar 25, 2023
    Configuration menu
    Copy the full SHA
    feb0cd6 View commit details
    Browse the repository at this point in the history
  2. Fix formatting

    karlhorky committed Mar 25, 2023
    Configuration menu
    Copy the full SHA
    67301b3 View commit details
    Browse the repository at this point in the history
  3. Fix formatting

    karlhorky committed Mar 25, 2023
    Configuration menu
    Copy the full SHA
    62d788a View commit details
    Browse the repository at this point in the history

Commits on May 11, 2023

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

Commits on May 17, 2023

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

Commits on May 18, 2023

  1. Lowercase body

    karlhorky committed May 18, 2023
    Configuration menu
    Copy the full SHA
    3f59852 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b037fd0 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2023

  1. Configuration menu
    Copy the full SHA
    7c9f3cd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    29ca085 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5bcc8b1 View commit details
    Browse the repository at this point in the history