(ctx context.Context, typeName, field string, childComplexity int, rawArgs map[string]any)
| 290 | } |
| 291 | |
| 292 | func (e *executableSchema) Complexity(ctx context.Context, typeName, field string, childComplexity int, rawArgs map[string]any) (int, bool) { |
| 293 | ec := newExecutionContext(nil, e, nil) |
| 294 | _ = ec |
| 295 | switch typeName + "." + field { |
| 296 | |
| 297 | case "ApplyBlurResult.image": |
| 298 | if e.ComplexityRoot.ApplyBlurResult.Image == nil { |
| 299 | break |
| 300 | } |
| 301 | |
| 302 | return e.ComplexityRoot.ApplyBlurResult.Image(childComplexity), true |
| 303 | |
| 304 | case "ApplyWatermarkResult.image": |
| 305 | if e.ComplexityRoot.ApplyWatermarkResult.Image == nil { |
| 306 | break |
| 307 | } |
| 308 | |
| 309 | return e.ComplexityRoot.ApplyWatermarkResult.Image(childComplexity), true |
| 310 | |
| 311 | case "DeleteImageResult.id": |
| 312 | if e.ComplexityRoot.DeleteImageResult.ID == nil { |
| 313 | break |
| 314 | } |
| 315 | |
| 316 | return e.ComplexityRoot.DeleteImageResult.ID(childComplexity), true |
| 317 | |
| 318 | case "FSStorageConfig.mediaRoot": |
| 319 | if e.ComplexityRoot.FSStorageConfig.MediaRoot == nil { |
| 320 | break |
| 321 | } |
| 322 | |
| 323 | return e.ComplexityRoot.FSStorageConfig.MediaRoot(childComplexity), true |
| 324 | |
| 325 | case "IPFSMFSStorageConfig.apiUrl": |
| 326 | if e.ComplexityRoot.IPFSMFSStorageConfig.ApiUrl == nil { |
| 327 | break |
| 328 | } |
| 329 | |
| 330 | return e.ComplexityRoot.IPFSMFSStorageConfig.ApiUrl(childComplexity), true |
| 331 | case "IPFSMFSStorageConfig.pathPrefix": |
| 332 | if e.ComplexityRoot.IPFSMFSStorageConfig.PathPrefix == nil { |
| 333 | break |
| 334 | } |
| 335 | |
| 336 | return e.ComplexityRoot.IPFSMFSStorageConfig.PathPrefix(childComplexity), true |
| 337 | case "IPFSMFSStorageConfig.pin": |
| 338 | if e.ComplexityRoot.IPFSMFSStorageConfig.Pin == nil { |
| 339 | break |
| 340 | } |
| 341 | |
| 342 | return e.ComplexityRoot.IPFSMFSStorageConfig.Pin(childComplexity), true |
| 343 | |
| 344 | case "Image.changes": |
| 345 | if e.ComplexityRoot.Image.Changes == nil { |
| 346 | break |
| 347 | } |
| 348 | |
| 349 | return e.ComplexityRoot.Image.Changes(childComplexity), true |
nothing calls this directly
no test coverage detected