Skip to content
Discussion options

You must be logged in to vote

State is for sharing data that is the same for all routes, like database connection pools.

For storing request local data like authorization you still need to use extensions. Otherwise the user would be shared between all requests which isn't what you want.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Paul-Vandell
Comment options

Answer selected by Paul-Vandell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1557 on November 20, 2022 22:18.