Open Murik opened 1 year ago
JHipster has completed the sample check
.yo-rc.json
: valid
Entities JDL: valid
Application:
Frontend check: skipped
Backend check: skipped
E2E check: skipped
This check uses jhipster info
output from the issue description to generate the sample.
Bug report that does not contain this information will be marked as invalid.
Any update on this ? I'm receiving the same error in JHipster version 7.9.4
the same issue on JHipster 8.2.1
This is more than a simple bug. Is a concept bug.
@Embedded
entities will always be unidirectional.*ToOne
relationships with @Embedded
are conceptually @OneToOne
but effectively unidirectional @ManyToOne
in JHipster.We have a few tasks:
@Embedded
and force the user to convert to ManyToOne. Supporting unidirectional OneToOne in templates is very difficult.@Embedded
too.@DanielFran @mraible
Overview of the issue
I tried to generate test project via JDL and get error. Create a simple project and try to add 1-to-1 entities according https://www.jhipster.tech/managing-relationships/#embedded-entities-for-couchbase-and-mongodb
Error:
Motivation for or Use Case
Cant create 1-to-1 relationship on MongoBD & angular.
Reproduce the error
Use JDL myApp-jdl.jh
Try to create entities
jhipster jdl myApp-jdl.jh
Related issues
15524 #16358 #18017
JHipster Version(s)
7.9.3
JHipster configuration
jhipster info
Welcome to JHipster v7.9.3
Welcome to the JHipster Information Sub-Generator
JHipster Version(s)
JHipster configuration, a
.yo-rc.json
file generated in the root folder.yo-rc.json file
JDL for the Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryJDL entity definitions
Environment and Tools
openjdk version "17.0.4" 2022-07-19 OpenJDK Runtime Environment Temurin-17.0.4+8 (build 17.0.4+8) OpenJDK 64-Bit Server VM Temurin-17.0.4+8 (build 17.0.4+8, mixed mode, sharing)
git version 2.33.0.windows.2
node: v16.13.0
npm: 8.18.0
Docker version 24.0.2, build cb74dfc
Docker Compose version v2.18.1
No change to package.json was detected. No package manager install will be executed. Congratulations, JHipster execution is complete! Sponsored with ❤️ by @oktadev.
Browsers and Operating System
OS Name Microsoft Windows 10 Pro