Skip to content
This repository has been archived by the owner on Dec 20, 2018. It is now read-only.

UserTore defined IdentityUser hard coded string but it sould be tkey #707

Closed
jvelezc opened this issue Jan 7, 2016 · 1 comment
Closed

Comments

@jvelezc
Copy link

jvelezc commented Jan 7, 2016

Currently:

    public class UserStore<TUser> : UserStore<TUser, IdentityRole, DbContext> where TUser : IdentityUser<string>, new()
    {
        public UserStore(DbContext context, IdentityErrorDescriber describer = null);
    }

Proposal:

public class UserStore<TUser> : UserStore<TUser, IdentityRole, DbContext> where TUser : IdentityUser<Tkey>, new()
    {
        public UserStore(DbContext context, IdentityErrorDescriber describer = null);
    }

Why? Because if I define

 public class ApplicationUser : IdentityUser<int>

I will subsequently not be able to use the userstore.

@rustd
Copy link

rustd commented Jan 13, 2016

Duplicate of #585 which is tracking this.

@rustd rustd closed this as completed Jan 13, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants