• Normalize data from the request object, accounting for framework differences.

    Parameters

    • req: PolymorphicRequest

      The request object from which to extract data

    • Optionaloptions: { deps?: InjectedNodeDeps; include?: string[] }
      • Optionaldeps?: InjectedNodeDeps

        Injected, platform-specific dependencies

      • Optionalinclude?: string[]

        An optional array of keys to include in the normalized data. Defaults to DEFAULT_REQUEST_INCLUDES if not provided.

    Returns ExtractedNodeRequestData

    An object containing normalized request data