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

Feature request - request side transformer #614

Open
ddl-ebrown opened this issue Oct 17, 2024 · 0 comments
Open

Feature request - request side transformer #614

ddl-ebrown opened this issue Oct 17, 2024 · 0 comments

Comments

@ddl-ebrown
Copy link
Contributor

ddl-ebrown commented Oct 17, 2024

As a follow-on to #289, we're seeing a need to have request-aware middleware plugged into the request processing pipeline to implement a pattern that cross-cuts all API endpoints.

The main idea is:

  • Request structure matches some specific criteria (payload contains a field for instance)
  • Request has additional context added to it

Right now we're doing this by wrapping the API handler functions that get setup at registration time -- but it would be better to have a well defined construct for this pattern.

Thanks in advance for considering!

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

No branches or pull requests

1 participant