Open Closed

I can't create my application without using extrapropeties #1886


User avatar
0
takahiro created
  • ABP Framework version: v4.0.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

I don't want to use extra properties , so a created new columns to the database to work with real fields, not a JSON , but.. when i add some field to the user DTO, the front-end needs to send the new field, inside the extraproperties, and the fields that i created im the tenant's table have the same problem and i dont know how to avoid using extraproperties in the front end , i will show some pictures of my problem.

how can i set the extra properties inside de object of tenant? i mapped the fields of tenant in Module Extension Configurator

and how cand i set a new property in User DTO without extraproperties? i was using the DTO extensions to customize user DTO, but still needs to use extraProperties.


1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    how cand i set a new property in User DTO without extraproperties?

    No, you can't , Because this is the design of the extension system.

    You can do this by completely customizing modules, but there's a lot of work to do, and you need to have a source code license.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09