Skip to content

Conversation

@ChristianPavilonis
Copy link
Collaborator

@ChristianPavilonis ChristianPavilonis commented Dec 2, 2025

Allows integrations to easily proxy any request matching a wildcard pattern to downstream apis.

This is needed for #108 and #123 to work and pass their api calls through trusted server without needing exact matches for every call.

  • Uses matchit crate for fast route matching.
  • adds helper methods for defining endpoints under a namespace
    • but still allow integrations like prebid to customize the route

@ChristianPavilonis ChristianPavilonis force-pushed the feature/integration-wildcard-matching branch from 5fe8f55 to dbc942a Compare December 2, 2025 17:46
Copy link
Collaborator

@aram356 aram356 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔧 Please look into eliminating loop

Option 1: Integration should register a prefix that would match to
Option 2: Maybe we can take advantage of https://docs.rs/matchit/latest/matchit/

@ChristianPavilonis ChristianPavilonis force-pushed the feature/integration-wildcard-matching branch 4 times, most recently from 8b73e82 to 470b24f Compare December 5, 2025 19:23
@ChristianPavilonis ChristianPavilonis force-pushed the feature/integration-wildcard-matching branch from 470b24f to 3808fd3 Compare December 5, 2025 19:33
Copy link
Collaborator

@aram356 aram356 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Look good.

@ChristianPavilonis ChristianPavilonis merged commit 5870901 into main Dec 5, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants