How to set Metaproperties to be of Type LIST?


thomas.d...@...
 

Hi,

I added some metaproperties to a vertexproperty and found that those metaproperties always are of type SINGLE.
Is there a way to turn those into LIST by default?
Using 

property(Cardinality.list, "ds3", "test")

resulted in a ClassCastException.

I'm using the Tp3DefaultSchemaMaker, but it seems the Cardinality of Metaproperties is not defined by this one.

Any advice is appreciated.

Kind regards,
Thomas


remi.g...@...
 

Hi, only VertexProperties can have other cardinality than Single.
Properties on edges and "meta" properties can only be Cardinality.Single.


Le mercredi 20 mai 2020 15:54:58 UTC+2, tho...@... a écrit :
Hi,

I added some metaproperties to a vertexproperty and found that those metaproperties always are of type SINGLE.
Is there a way to turn those into LIST by default?
Using 

property(Cardinality.list, "ds3", "test")

resulted in a ClassCastException.

I'm using the Tp3DefaultSchemaMaker, but it seems the Cardinality of Metaproperties is not defined by this one.

Any advice is appreciated.

Kind regards,
Thomas