field type and castTo should crash upon generating the schema if they get an interface type as input
field type and castTo should crash upon generating the schema if they get an interface type as input