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

AddEntityFrameworkStores blocks using the generic IdentityRole<TKey> directly #1373

@HaoK

Description

@HaoK

The check should allow using the generic type directly, instead of requiring a derived type.

AddIdentity<ApplicationUser, IdentityRole<int>> won't work
while
AddIdentity<ApplicationUser, ApplicationRole> where ApplicationRole : IdentityRole<int> works

@ajcvickers @blowdart this is hitting a lot of people, something we can consider fixing in the next patch as it should be a low risk fix.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions