Open Closed

Upgrade to ABP 8.1.5 proxy generate duplicate import #7610


User avatar
0
DominaTang created

We has a shared project which defined shared Enum used by App Micro Services. We have the following case: Micro Service A use this enum, And Micro Service B setup that can call AppServices in Micro Services A; Service B also use this enum;

The generated property for Service B import this enum twice with build error: error TS2300: Duplicate identifier 'xxxxEnum'


3 Answer(s)
  • User Avatar
    0
    DominaTang created

    I downgrade this package "@abp/ng.schematics": "7.4.5", then this error is gone. I believe ABP 8.1.x version package has bug.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    The problem was solved in 8.2 https://github.com/abpframework/abp/pull/20189

  • User Avatar
    0
    DominaTang created

    Hi,

    The problem was solved in 8.2 https://github.com/abpframework/abp/pull/20189

    I upgraded to ABP 8.2.1, this error is gone. There are still quite a lot of other Angular errors, I will create separate thread for it.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 18, 2024, 05:54