Hi,
Do you have any class that refers to itself? A tree for instance.
If yes, could you please share it with me?
Thanks.
Hi vishalnikam,
I am closing the issue due to inactivity. Please reopen it if the problem continues.
Have a nice day.
Hi,
Does environment.prod.ts
have the same oAuthConfig
?
Thanks.
Hi,
Do you have any recursive interface? If yes, could you please share its shape?
Thanks.
Hi,
If nothing has changed, then the code ABP Suite generates is accurate. Something seems off with the project itself.
Can we close this issue?
Hi,
It is really difficult to guess, but try the following to see if anything changes.
package.json
to see if the latest stable version (v3.2) of @abp/ng.schematics
is installed in your project. Install it if not.abp generate-proxy
Please let me know if the interface name changes.
Hi,
There is a new environment variable introduced for code generation.
export const environment: Config.Environment = {
// other environment variables...
apis: {
default: {
rootNamespace: "MyCompanyName.MyProjectName",
// other environment variables...
},
},
};
MyProjectName.MyProjectName
should be replaced with your project root namespace.
I hope this resolves the issue for you.
Note: We are gradually removing NGXS from the project. A store for the entity will not be generated and was actually of almost no use.
Hi,
Sorry for the missing documentation on the matter. We are actively trying to improve our documentation and this has been opened as an issue now.
Please do not put any additional <span>
elements to your HTML. The validation will happen automatically. Instead, put the provider below to the app.module.ts file.
import { VALIDATION_BLUEPRINTS } from '@ngx-validate/core';
@NgModule({
// rest of the module metadata
providers: [
// other providers
{
provide: VALIDATION_BLUEPRINTS,
useValue: {
exists: 'Country code already exists!',
},
},
],
})
export class AppModule {}
You may use a localization resource and key instead if you want to localize the message.
Please let me know if this resolves the issue for you.
Have a nice day.
Hi vishalnikam,
Is the issue solved?
Thanks. Have a nice week.
Hi vishalnikam,
The warning about Lepton is not the problem. It does not break the build or your app.
The error is from Angular compatibility compiler, a.k.a. ngcc. From the log, it looks like, ngcc could not compile Angular packages. Updating Angular may help. Therefore, I suggest two things:
Please let me know if this solves the issue for you.
Have a nice day.