(_ context.Context, obj *models.Repository)
| 17 | type repoResolver struct{} |
| 18 | |
| 19 | func (repoResolver) Name(_ context.Context, obj *models.Repository) (*string, error) { |
| 20 | name := obj.Repo.Name() |
| 21 | return &name, nil |
| 22 | } |
| 23 | |
| 24 | func (repoResolver) AllBugs(_ context.Context, obj *models.Repository, after *string, before *string, first *int, last *int, queryStr *string) (*models.BugConnection, error) { |
| 25 | input := models.ConnectionInput{ |