jhipster-dotnetcore icon indicating copy to clipboard operation
jhipster-dotnetcore copied to clipboard

Blazor Model and ModelUpdate.razor.cs generators handle User entity differently

Open pasikokko opened this issue 3 years ago • 1 comments

https://github.com/jhipster/jhipster-dotnetcore/blob/5844d760d11d8f91d5c27def5942fa3aa25811ac/generators/entity-client/templates/blazor/src/Project.Client/Models/Model.cs.ejs#L67

Model has UserId, but ModelUpdate.razor.cs will get relationshipName. Generated code is not compiling.

entity Employee {
    lastName String
    firstName String
    displayName String
    employeeNumber String
}

relationship OneToOne {
	Employee{internalUser(login)} to User
}

pasikokko avatar Jul 11 '22 12:07 pasikokko

Hello, sorry for the delay, i think the generation of user relationship is not implemented in blazor

nicolas63 avatar Jul 16 '22 11:07 nicolas63