github.com/HaswinVidanage/gqlgen@v0.8.1-0.20220609041233-69528c1bf712/plugin/modelgen/testdata/schema.graphql (about) 1 type Query { 2 thisShoudlntGetGenerated: Boolean 3 } 4 5 type Mutation { 6 thisShoudlntGetGenerated: Boolean 7 } 8 9 type Subscription { 10 thisShoudlntGetGenerated: Boolean 11 } 12 13 type MissingType implements MissingInterface & ExistingInterface { 14 name: String 15 enum: MissingEnum 16 int: MissingInterface 17 existing: ExistingType 18 } 19 20 input MissingInput { 21 name: String 22 enum: MissingEnum 23 int: MissingInterface 24 existing: ExistingType 25 } 26 27 enum MissingEnum { 28 Hello 29 Goodbye 30 } 31 32 interface MissingInterface { 33 name: String 34 } 35 36 union MissingUnion = MissingType | ExistingType 37 38 type ExistingType implements MissingInterface & ExistingInterface { 39 name: String 40 enum: ExistingEnum 41 int: ExistingInterface 42 existing: MissingType 43 } 44 45 input ExistingInput { 46 name: String 47 enum: ExistingEnum 48 int: ExistingInterface 49 existing: MissingType 50 } 51 52 enum ExistingEnum { 53 Hello 54 Goodbye 55 } 56 57 interface ExistingInterface { 58 name: String 59 } 60 61 union ExistingUnion = MissingType | ExistingType 62