Index embedded

+1 vote
asked Oct 18, 2019 in Feature Request by Tisiber (130 points)

Hi,

As it is not possible to add an index with the value of an embedded object, how can I prevent the export of the .orm files manually from removing the manually added code to include these indexes?

Thank you

enter image description here

related to an answer for: Index on Embedded
commented Oct 18, 2019 by ludek.vodicka Skipper developer (140,450 points)

Hello,

Skipper always export whole code, it's not possible to keep part of code untouched.

What version of Skipper are you using?

commented Oct 18, 2019 by Tisiber (130 points)

Thanks Luddek

My version of Skipper is 3.2.20.1575

Any idea how I can add this type of index that depends on an embedded object?

commented Oct 18, 2019 by ludek.vodicka Skipper developer (140,450 points)

We have to investigate it. It is possible that this feature is currently missing.

Can you please send me a sample project to [email protected]?

commented Oct 18, 2019 by Tisiber (130 points)

Ok Ludek, I send you a file below

1 Answer

0 votes
answered Sep 23, 2020 by ise (730 points)

Was this ever solved? I too am having the same issue where I'm able to manually specify an embedded field in an entity index directly via the XML mapping, however, I'm unable to do this via Skipper, so I have to manually make the change after every export.

Further to this, where I actually want to create the index is in in a child entity, where the parent entity contains the embeddable. Either way, even on the parent I'm unable to create this index via Skipper whereas it works in Doctrine ORM XML mappings.

...