Skip to content

Is it possible to map a POJO to an annotated Class? #364

Answered by nartc
lacoonte asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @alvarorece , it is not possible the way you describe it. You are right, the two plugins have two separate metadata storages. What I'd recommend is to make IAppointment a class like AppointmentDto or something like that (which fits its purpose). A class without any constructor and methods are almost the same as an interface in this case.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by lacoonte
Comment options

You must be logged in to vote
3 replies
@nartc
Comment options

@darrenmothersele
Comment options

@nartc
Comment options

Comment options

You must be logged in to vote
1 reply
@Dark0rion
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants