~edwargix/git.sr.ht

a12a5a58285eceddc0f55731f4f51abdf5119184 — Drew DeVault 5 years ago a28f529
api: drop dead code
1 files changed, 0 insertions(+), 13 deletions(-)

M api/graph/schema.resolvers.go
M api/graph/schema.resolvers.go => api/graph/schema.resolvers.go +0 -13
@@ 174,16 174,3 @@ type queryResolver struct{ *Resolver }
type repositoryResolver struct{ *Resolver }
type treeResolver struct{ *Resolver }
type userResolver struct{ *Resolver }

// !!! WARNING !!!
// The code below was going to be deleted when updating resolvers. It has been copied here so you have
// one last chance to move it out of harms way if you want. There are two reasons this happens:
//  - When renaming or deleting a resolver the old code will be put in here. You can safely delete
//    it when you're done.
//  - You have helper methods in this file. Move them out to keep these resolver files clean.
func (r *queryResolver) Cursor(ctx context.Context, filter model.Filter) (*model.Cursor, error) {
	panic(fmt.Errorf("not implemented"))
}
func (r *repositoryResolver) Cursor(ctx context.Context, obj *model.Repository) (*model.Cursor, error) {
	panic(fmt.Errorf("not implemented"))
}