Skip to content

How to Extend IdentityUserCreateDto properties #2268

@inamvar

Description

@inamvar

I Added custom properties to AppUser Model and now I want to create a new User with custom properties included. but I can't change Identity user DTOs.
I Still see the default properties in swagger :

image

how can I add my custom properties to them?
here is my new properties added to AppUser:

image
and here my ConfigureCustomUserProperties method in PmsCloudDbContextModelCreatingExtensions :

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions