stufflog graphql server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.2 KiB

  1. package resolvers
  2. // This file will be automatically regenerated based on the schema, any resolver implementations
  3. // will be copied through when generating and any unknown code will be moved to the end.
  4. import (
  5. "context"
  6. "fmt"
  7. "git.aiterp.net/stufflog/server/graph/graphcore"
  8. "git.aiterp.net/stufflog/server/models"
  9. )
  10. func (r *queryResolver) Issue(ctx context.Context, id string) (*models.Issue, error) {
  11. panic(fmt.Errorf("not implemented"))
  12. }
  13. func (r *queryResolver) Issues(ctx context.Context, filter *models.IssueFilter) ([]*models.Issue, error) {
  14. panic(fmt.Errorf("not implemented"))
  15. }
  16. func (r *queryResolver) Project(ctx context.Context, id string) (*models.Project, error) {
  17. panic(fmt.Errorf("not implemented"))
  18. }
  19. func (r *queryResolver) Projects(ctx context.Context, filter *models.ProjectFilter) ([]*models.Project, error) {
  20. panic(fmt.Errorf("not implemented"))
  21. }
  22. func (r *queryResolver) Session(ctx context.Context) (*models.User, error) {
  23. panic(fmt.Errorf("not implemented"))
  24. }
  25. // Query returns graphcore.QueryResolver implementation.
  26. func (r *Resolver) Query() graphcore.QueryResolver { return &queryResolver{r} }
  27. type queryResolver struct{ *Resolver }