Skip to content

export FastifyRawRequest type聽#4704

Closed
Closed

Description

@ianzone

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the feature has not already been requested

馃殌 Feature Proposal

export a FastifyRawRequest type, which contains the originalUrl property.

Motivation

No response

Example

No response

Activity

  1. added
    semver-minorIssue or PR that should land as semver minor
    on Apr 26, 2023
  2. mcollina commented on May 3, 2023

    @mcollina
    Member

    Thanks for reporting! Would you like to send a Pull Request to address this issue? Remember to add unit tests.

  3. aarontravass commented on May 14, 2023

    @aarontravass
    Contributor

    How about adding originalUrl in the existing FastifyRequest instead?

  4. mcollina commented on May 15, 2023

    @mcollina
    Member

    That'd likely be better.

  5. aarontravass commented on May 15, 2023

    @aarontravass
    Contributor

    Alright. I'll give it a try.

  6. aarontravass commented on May 15, 2023

    @aarontravass
    Contributor

    @mcollina under what conditions does req.url get modified? For example, express and sails modify req.url if there's an internal routing. Does fastify do the same?

  7. mcollina commented on May 16, 2023

    @mcollina
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions