Skip to content

Stores.MaxLengthForKeys is not consistent with what is announced #7568

@Ponant

Description

@Ponant

services.AddDefaultIdentity<IdentityUser>(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."

Metadata

Metadata

Assignees

No one assigned

    Labels

    affected-very-fewThis issue impacts very few customersarea-identityIncludes: Identity and providersbugThis issue describes a behavior which is not expected - a bug.severity-nice-to-haveThis label is used by an internal tool

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions