Skip to content

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

@adamfoneil

Description

@adamfoneil

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions