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

add optional delegate in UpdateUserAsync that lets you update any cached/session info as well #43

Open
adamfoneil opened this issue Jan 27, 2021 · 0 comments

Comments

@adamfoneil
Copy link
Owner

adamfoneil commented Jan 27, 2021

There's already an OnUserUpdatedAsync delegate, but if not initialized, then you can't call it. So, issue is to make this easier to call.

The use case here is I've updated some user property in the database, but I need to make sure it's reflected in Session (or wherever I've cached it).

I think maybe a new optional argument on the AddDapperCX startup method makes sense.

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