I've also tried it on 2.2.7 with option being sub-class of contract. All works properly.
Il giorno lunedì 19 settembre 2016 09:36:02 UTC+2, Oleksandr Gubchenko ha scritto: > > On 2.2.10 I get this: > > > <https://lh3.googleusercontent.com/-W39YcQO9WbU/V9-VQKpPBnI/AAAAAAAAAEo/_6LW-iicC-Amt1Ds7luo3uTM0iQeyW3UACLcB/s1600/code2.jpg> > > > Your contract class is a superclass of option? > > Il giorno lunedì 19 settembre 2016 09:26:30 UTC+2, hartmut bischoff ha > scritto: >> >> I'm using 2.2.7 >> >> >> <https://lh3.googleusercontent.com/-0o2KfD6oAro/V9-TDDNcPBI/AAAAAAAAK44/7FzDgCuAGxkX8sNOBZrxPmiwCxkUiRhaQCLcB/s1600/strike.png> >> >> >> >> >> On Monday, September 19, 2016 at 8:42:38 AM UTC+2, Oleksandr Gubchenko >> wrote: >>> >>> I've tried it on the latest 2.2.10 and both studio and rest (using >>> postman) give me the right result: >>> >>> {"result":[{"@type":"d","@rid":"#21:0","@version":1,"@class":"contract", >>> "strike":30,"@fieldTypes":"strike=c"}]} >>> >>> >>>>> -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
