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.

29 lines
1.0 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 *projectResolver) Issues(ctx context.Context, obj *models.Project, filter *graphcore.ProjectIssueFilter) ([]*models.Issue, error) {
  11. panic(fmt.Errorf("not implemented"))
  12. }
  13. func (r *projectResolver) Permissions(ctx context.Context, obj *models.Project) ([]*graphcore.ProjectPermissions, error) {
  14. panic(fmt.Errorf("not implemented"))
  15. }
  16. func (r *projectResolver) UserPermissions(ctx context.Context, obj *models.Project) (*graphcore.ProjectPermissions, error) {
  17. panic(fmt.Errorf("not implemented"))
  18. }
  19. // Project returns graphcore.ProjectResolver implementation.
  20. func (r *Resolver) Project() graphcore.ProjectResolver { return &projectResolver{r} }
  21. type projectResolver struct{ *Resolver }