(s *gqlScaffolder, field string, args map[string]any)
| 293 | func (introField) typeName() string { return "__Field" } |
| 294 | |
| 295 | func (x introField) resolve(s *gqlScaffolder, field string, args map[string]any) any { |
| 296 | switch field { |
| 297 | case "name": |
| 298 | return x.f.Name |
| 299 | case "description": |
| 300 | return optional(x.f.Description) |
| 301 | case "args": |
| 302 | return introArgs(x.f.Arguments, args) |
| 303 | case "type": |
| 304 | return introType{x.f.Type} |
| 305 | case "isDeprecated": |
| 306 | return deprecated(x.f.Directives) |
| 307 | case "deprecationReason": |
| 308 | return deprecationReason(x.f.Directives) |
| 309 | } |
| 310 | return nil |
| 311 | } |
| 312 | |
| 313 | type introInputValue struct { |
| 314 | name string |
nothing calls this directly
no test coverage detected