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

feat: use Hub from request context when available #259

Merged
merged 1 commit into from
Jul 17, 2020

Conversation

rhcarvalho
Copy link
Contributor

This allows users to setup a request-scoped Hub with relevant data in a middleware that runs before the web frameworks we integrate with.

A typical case is AWS Lambda + Web Framework. See #217 (comment) for an example.

This is a follow-up on #217.

This allows users to setup a request-scoped Hub with relevant data in a
middleware that runs before the web frameworks we integrate with.

A typical case is AWS Lambda + Web Framework. See [1] for an example.

[1]: getsentry#217 (comment)
Copy link
Contributor

@kamilogorek kamilogorek left a comment

Choose a reason for hiding this comment

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

Purrfect 👌

@rhcarvalho rhcarvalho merged commit d099f87 into getsentry:master Jul 17, 2020
@rhcarvalho rhcarvalho deleted the use-request-ctx branch July 17, 2020 11:53
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.

None yet

2 participants