I created a class Vector3 with properties X, Y, Z - all of type double.
I created a class Foo that contains an Embedded field "Position" of type Vector3
In OrientDB studio, I can create a new instance of Foo using the following SQL
insert into Foo set Position = { "X": 1, "Y": 2, "Z": 3}
It works like a charm...
But, if I try to use the schema editor to add a new record, it seems that I cannot just provide
{ "X": 1, "Y": 2, "Z": 3}
as the value of the Position property, but rather I have to specify all this...
{"@type":"d","@class":"Vector3","X":1,"Y":2,"Z":3}
Is there some reason that it cannot deduce the @type and @class - after all, they are part of the class definition.
Also, we are struggling to find where this is covered in the manual or tutorials. So if anyone has a pointer to that, it would be great :)
cheers