dotnet / dotnet/aspnetcore

Stores.MaxLengthForKeys is not consistent with what is announced

Open
#7,568 8 comments 0 reactions 0 assignees View on GitHub
affected-very-few area-identity bug severity-nice-to-have
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 5h
Merged PRs (30d)
276

Description

` services.AddDefaultIdentity(x=>x.Stores.MaxLengthForKeys=100)
`
will not generate a Max Length of 100 for UserId; it remains at 450. This is not consitent with the intellisense text
" If set to a positive number, the default OnModelCreating will use this value as the max length for any properties used as keys, i.e. UserId, LoginProvider, ProviderKey."

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.