Skip to content
This repository has been archived by the owner on Mar 21, 2021. It is now read-only.

Add support for @MapsId in jdl entity field declaration #294

Closed
1 task done
pmverma opened this issue Dec 26, 2018 · 5 comments
Closed
1 task done

Add support for @MapsId in jdl entity field declaration #294

pmverma opened this issue Dec 26, 2018 · 5 comments

Comments

@pmverma
Copy link
Member

pmverma commented Dec 26, 2018

Overview of the feature request

As the PR jhipster/generator-jhipster#8685 is ready, add support for MapsId in jdl entity field declaration once the PR is reviewed and merged.

Motivation for or Use Case

Keeping in sync with prompt with jdl

Related issues or PR

jhipster/generator-jhipster#8685

  • Checking this box is mandatory (this is just to show you read everything)
@DanielFran
Copy link
Member

@MathieuAA The PR in the generator has been merged.
Can you please take care of this issue?
Thanks

@MathieuAA
Copy link
Member

@DanielFran will do

@MathieuAA
Copy link
Member

Almost done, this is a bit trickier than I thought, but there's fun in doing it.
The syntax I'm implementing is the following:

entity A
entity B

relationship OneToOne {
  A{b} to A with jpaDerivedIdentifier
}

@Blackdread
Copy link

The syntax is good I think, I will implement in https://github.com/Blackdread/sql-to-jdl as soon as this is ready in JDL.

@MathieuAA
Copy link
Member

@colameo Does the syntax look good to you?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants