(defs ast.ArgumentDefinitionList, args map[string]any)
| 342 | } |
| 343 | |
| 344 | func introArgs(defs ast.ArgumentDefinitionList, args map[string]any) []introObject { |
| 345 | includeDeprecated, _ := args["includeDeprecated"].(bool) |
| 346 | list := []introObject{} |
| 347 | for _, a := range defs { |
| 348 | if includeDeprecated || !deprecated(a.Directives) { |
| 349 | list = append(list, introInputValue{a.Name, a.Description, a.Type, a.DefaultValue, a.Directives}) |
| 350 | } |
| 351 | } |
| 352 | return list |
| 353 | } |
| 354 | |
| 355 | type introEnumValue struct{ v *ast.EnumValueDefinition } |
| 356 |
no test coverage detected