Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NpgsqlRest/NpgsqlRest
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e036f3d
Choose a base ref
...
head repository: NpgsqlRest/NpgsqlRest
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0ab6c83
Choose a head ref
  • 1 commit
  • 6 files changed
  • 1 contributor

Commits on Jun 23, 2026

  1. feat(proxy): forward all automatic parameters to proxy upstream consi…

    …stently (v3.18.1)
    
    When an endpoint is a proxy, all server-filled parameters now forward to
    the upstream through one unified path: user claims, IP address, HTTP
    Custom Type fields, and resolved-parameter expressions.
    
    Placement mirrors the endpoint's own signature, NOT the HTTP verb:
    - a @body_parameter_name param carries the raw request body;
    - otherwise RequestParamType decides — QueryString appends to the proxy
      query string, BodyJson merges into the proxy JSON body (typed:
      numbers / booleans / embedded json / strings) when the method carries
      a body.
    
    Additive: the verbatim incoming request is still forwarded; the
    automatic params are added on top so the upstream receives the same
    parameter set the routine would.
    
    The previous claim/IP-only query append in BuildTargetUrl is removed and
    folded into the unified mechanism. Behavior change: claims/IP now follow
    RequestParamType (unchanged for GET/QueryString — still query; for
    BodyJson endpoints they now go to the body).
    
    Notes: body merge only for JSON content types (multipart/non-JSON
    forwarded verbatim); only expanded per-field HTTP-type params forwarded.
    
    Tests cover GET-query, POST-body (typed), param_type-query on POST, and
    resolved-param forwarding; existing claim/IP proxy tests pass unchanged.
    Full suite green (2288). See changelog/v3.18.1.md.
    vbilopav committed Jun 23, 2026
    Configuration menu
    Copy the full SHA
    0ab6c83 View commit details
    Browse the repository at this point in the history
Loading