You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There isn't a public API for users to provide their own session manager or provider implementation. The existing API is package private. How about we expose an API for users to provide their own SessionProvider and SessionManager?
This would be useful for a use case where a user session represents a sequence of tasks that must be completed or canceled before the session can be closed or ended. The current implementation doesn't allow for that and uses arbitrary session identifier which may not represent how a user wants a session to be identified.
The text was updated successfully, but these errors were encountered:
I still feel like we're being too generous with the session abstraction and should be more opinionated about it. We can/should expose the id generator for advanced users, but the behavior I think we should be better about managing. 🤷🏻
There isn't a public API for users to provide their own session manager or provider implementation. The existing API is package private. How about we expose an API for users to provide their own
SessionProvider
andSessionManager
?This would be useful for a use case where a user session represents a sequence of tasks that must be completed or canceled before the session can be closed or ended. The current implementation doesn't allow for that and uses arbitrary session identifier which may not represent how a user wants a session to be identified.
The text was updated successfully, but these errors were encountered: