Home Documentation Download Pricing Buy Now

[Solved] create an unique index based on multiple-fields with one inherited field

0 votes

Hi,

I need to create a unique index.
This index is based on three fields. One of these comes from an inherited class, but its fields are not available in the index field list.

How can I do that ?
If I add it manually in exported file (as annotation), does skipper destroy it on next export ?

Thanks,
Jean-Michel

asked Jan 8, 2018 in Solved by jms (150 points)
recategorized Feb 27, 2018 by ludek.vodicka

Unfortunately this is currently not supported. Also as you wrote, in case that you add it manually Skipper will erase it during next export.

ok, that's what I thought.

What if I re-declare the inherited field and I put them as "protected" ?
It seems to work...

As long as it's not the issue for your application it's ok for Skipper. This is how currently working inherited @id too.

ok fine, thanks for you really quick answers !

1 Answer

+1 vote
 
Best answer

This feature is now implemented in latest beta.

Feel free to check it here: https://support.skipper18.com/402/downloads-skipper-beta

answered Jun 1, 2018 by ludek.vodicka Skipper developer (140,530 points)
...