[Implemented] Exclude external bundle from export

0 votes
asked Jul 4, 2018 in Solved by ise (730 points)
recategorized Nov 22, 2018 by ludek.vodicka

When reusing modules between projects, I often include a few abstract entities that I can inherit from in my projects.

If there an abstract entity that I don't inherit from in this project, but do in others, then upon export, that entity is updated to have a class comment:

  • @ORM\Entity

instead of:

  • @ORM\MappedSuperclass

What I would like to be able to do is to ensure this doesn't happen. Either by manually specifying a class to be a mapped superclass instead of an entity, or by excluding a bundle from being exported entirely.

If either of these are currently possible, I'm unaware how.

Please help. Thank you.

ise

1 Answer

+1 vote
answered Nov 22, 2018 by ludek.vodicka Skipper developer (140,450 points)
selected Jun 5, 2019 by ise
 
Best answer

Hi,

new feature to explicitly mark the entity as MappedSuperclass is introduced in the latest beta.

https://support.skipper18.com/402/downloads-skipper-beta

enter image description here

...