~edwargix/git.sr.ht

e61573fb5d80b1258198b9a0bb1a71cbba5000a0 — Drew DeVault 3 years ago d96a933
API: remove leftover generated 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
@@ 798,16 798,3 @@ type referenceResolver 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 *mutationResolver) UpdateReadme(ctx context.Context, repoID int, html string) (string, error) {
	panic(fmt.Errorf("not implemented"))
}
func (r *mutationResolver) RemoveReadme(ctx context.Context, repoID int) (*string, error) {
	panic(fmt.Errorf("not implemented"))
}