@NgModule({
imports: [
// other imports...
IdentityModule.forChild({
entityActionContributors: identityEntityActionContributors,
}),
],
})
export class IdentityExtendModule { }
Hi edelivery,
The route should either load IdentityModule
directly and call its static forLazy
method or should load your custom module (i.e. IdentityExtendModule
) and which calls IdentityModule.forChild
in its imports metadata.
Hi edelivery,
Contributors should now be passed to the forLazy
static method of the module instead of the config module. Please refer to the extensions documentation updated for v3.
Hi edelivery,
This is a completely different topic, so please open a new ticket next time.
As of v3, lazy loading of built-in Angular modules have changed. Please refer to the migration guide for details.
Have a nice week.
Hi quan.truong.anh@gmail.com, Esben_Dalgaard,
The issue you have reported about the casing of the endpoints will be fixed in v3.1.1. Until then, you may use abp generate-proxy
command to reproduce the services with correct cases.
Hi quan.truong.anh@gmail.com,
This happens due to a mismatch of required policies between the code generated by suite and the app configuration response. There is a PR that fixes the issue and it will not exist in v3.1.1 patch.
Although the release is soon, until then, you may fix the required policies manually. Two files each entity are affected (in Angular app):
In ./src/app/books/book/providers/book-route.provider.ts
file:
requiredPolicy: 'BookStore.MyNamespace'
should be requiredPolicy: 'BookStore.Books'
.In ./src/app/books/book/components/book.component.html
file
*abpPermission="'BookStore.MyNamespace.Create'"
should be *abpPermission="'BookStore.Books.Create'"
*abpPermission="'BookStore.MyNamespace.Delete'"
should be *abpPermission="'BookStore.Books.Delete'"
*abpPermission="'BookStore.MyNamespace.Edit'"
should be *abpPermission="'BookStore.Books.Edit'"
Sorry for the inconvenience.
Hi @ali.turkmen,
This was a bug. Thanks for reporting. It will be fixed by this PR.
Sorry for the inconvenience.
I wish you a nice day.
Hi,
Closing this issue due to inactivity. If the problem is not resolved for you, please feel free to reopen it.
I wish you a nice week.
Hi @hungvt,
This value is set by the remoteServiceName
property of the generated module in GET /api/abp/api-definition
response.
Please let me know if this answers your question.
I wish you a very nice day.
Hi,
Is the issue resolved for you?
Thanks. Have a nice day.