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: Introducing Request Context #416

Merged
merged 9 commits into from
Sep 17, 2024

Conversation

geofmureithi
Copy link
Owner

1. Standardized Request:

  • Request is now made up of Args and Parts<Ctx>.
  • Fields like TaskId and Attempt are now inbuilt in the request

2. Context Wired to Backend:

  • The Ctx generic type is now tightly coupled with the backend, allowing for more robust typing and safer access to request-bound data.

3. Standardized FromRequest Implementation:

  • The FromRequest trait has been standardized, ensuring more consistent data extraction across the framework.
  • This reduces boilerplate code and ensures uniformity in how context is handled for different request types.

@geofmureithi geofmureithi merged commit 7a496ad into chore/v0.6.0 Sep 17, 2024
8 checks passed
@geofmureithi geofmureithi deleted the chore/request-context branch September 17, 2024 06:09
@zakstucke zakstucke mentioned this pull request Nov 5, 2024
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.

1 participant