Activities of "DominaTang"

Our project extend some app service in Identity service:

[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(IIdentityUserAppService))]
public class AbcIdentityUserAppService : IdentityUserAppService
{
 //Some override methods
//Some new methods
}

When in ABP 7, when generate identity-service proxy, in angular side, there are two sub folder generated, one called abp, one called volo. After upgrade to ABP 8, the proxy for identity-service, only one folder volo generated, the new methods in class AbcIdentityUserAppService is not available for client side to call.

This is also fixed by import '@abp/ng.components/extensible' instead of '@abp/ng.theme.shared/extensions'

Figure out the reason, these are from '@abp/ng.components/extensible' now

Error: src/app/abp-modules/account/public/src/components/personal-settings/personal-settings.component.ts:61:5 - error TS2740: Type 'FormGroup' is missing the following properties from type 'FormGroup<any>': addValidators, addAsyncValidators, removeValidators, removeAsyncValidators, and 4 more.

61 this.form = generateFormFromProps(data);

Error: src/app/abp-modules/account/public/src/defaults/default-my-security-logs-entity-props.ts:15:5 - error TS2322: Type '(data: Omit<PropData<IdentitySecurityLogDto>, "data">) => Observable<string>' is not assignable to type 'PropCallback<IdentitySecurityLogDto, Observable<any>>'. Type 'Observable<string>' is missing the following properties from type 'Observable<any>': _isScalar, _trySubscribe, _subscribe

15 valueResolver: data => { ....

After upgrade to ABP 8.2.1. there are following compile error:

Error: src/app/abp-modules/account/public/src/components/personal-settings/personal-settings-email/personal-settings-email.component.ts:3:3 - error TS2305: Module '"@abp/ng.theme.shared/extensions"' has no exported member 'EXTENSIBLE_FORM_VIEW_PROVIDER'.

Similar not exported member include: EXTENSIONS_FORM_PROP EXTENSIONS_FORM_PROP_DATA EXTENSIBLE_FORM_VIEW_PROVIDER EXTENSIONS_FORM_PROP EXTENSIBLE_FORM_VIEW_PROVIDER EXTENSIONS_FORM_PROP EXTENSIONS_FORM_PROP_DATA EXTENSIBLE_FORM_VIEW_PROVIDER EXTENSIONS_FORM_PROP EXTENSIONS_FORM_PROP_DATA

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.

I tried Abp 8.1.3 and 8.1.4 too, all has this error. There are also quite some other compile errors.

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.

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'

ABP CLI is 8.1.5, package.json, ABP version is 8.1.5. After re-generate all proxies, there is the following error: Error: src/app/identity/identity.module.ts:87:5 - error NG6002: 'UiExtensionsModule' does not appear to be an NgModule class.

87 UiExtensionsModule, ~~~~~~~~~~~~~~~~~~

../../../../node_modules/@abp/ng.theme.shared/extensions/lib/ui-extensions.module.d.ts:3:22 3 export declare class UiExtensionsModule { ~~~~~~~~~~~~~~~~~~ This likely means that the library (@abp/ng.theme.shared/extensions) which declares UiExtensionsModule is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.

Showing 11 to 20 of 86 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 18, 2024, 12:46