Closed gleb619 closed 1 year ago
Added a fix, @Blackdread please check
I can see the error thrown in generator sources but not sure why this is an issue. This is only the name of a field, not duplicated in same entity, right?
Thank you, field name is indeed duplicated, PR merged
@gleb619 I pushed some changes after merge your PR
Thank you!
When there are 2 relations, many to one, there is an error: The name of the relation is not synchronized.
Postgres example:
For this ddl, next jdl will be generated:
As you see, we have two ManyToOne relationship with the same name 'task'
This will lead us to the next jhipster error:
It is necessary to correct this error. To do this, we need to add to the method
JdlService.buildRelation
an additional check to create the name