(typeName, field string, childComplexity int, rawArgs map[string]interface{})
| 97 | } |
| 98 | |
| 99 | func (e *executableSchema) Complexity(typeName, field string, childComplexity int, rawArgs map[string]interface{}) (int, bool) { |
| 100 | ec := executionContext{nil, e} |
| 101 | _ = ec |
| 102 | switch typeName + "." + field { |
| 103 | |
| 104 | case "Category.courses": |
| 105 | if e.complexity.Category.Courses == nil { |
| 106 | break |
| 107 | } |
| 108 | |
| 109 | return e.complexity.Category.Courses(childComplexity), true |
| 110 | |
| 111 | case "Category.description": |
| 112 | if e.complexity.Category.Description == nil { |
| 113 | break |
| 114 | } |
| 115 | |
| 116 | return e.complexity.Category.Description(childComplexity), true |
| 117 | |
| 118 | case "Category.id": |
| 119 | if e.complexity.Category.ID == nil { |
| 120 | break |
| 121 | } |
| 122 | |
| 123 | return e.complexity.Category.ID(childComplexity), true |
| 124 | |
| 125 | case "Category.name": |
| 126 | if e.complexity.Category.Name == nil { |
| 127 | break |
| 128 | } |
| 129 | |
| 130 | return e.complexity.Category.Name(childComplexity), true |
| 131 | |
| 132 | case "Course.category": |
| 133 | if e.complexity.Course.Category == nil { |
| 134 | break |
| 135 | } |
| 136 | |
| 137 | return e.complexity.Course.Category(childComplexity), true |
| 138 | |
| 139 | case "Course.description": |
| 140 | if e.complexity.Course.Description == nil { |
| 141 | break |
| 142 | } |
| 143 | |
| 144 | return e.complexity.Course.Description(childComplexity), true |
| 145 | |
| 146 | case "Course.id": |
| 147 | if e.complexity.Course.ID == nil { |
| 148 | break |
| 149 | } |
| 150 | |
| 151 | return e.complexity.Course.ID(childComplexity), true |
| 152 | |
| 153 | case "Course.name": |
| 154 | if e.complexity.Course.Name == nil { |
| 155 | break |
| 156 | } |
nothing calls this directly
no test coverage detected