type Query { myInterface: MyInterface } interface MyInterface { f: String! } type MyObject implements MyInterface { f: String! g: String! } type OtherObject implements MyInterface { f: String! }