entity.resolvers.go 1.0 KB

123456789101112131415161718192021222324252627
  1. package order
  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. // Code generated by github.com/99designs/gqlgen version v0.17.21 DO NOT EDIT.
  5. import (
  6. "context"
  7. "fmt"
  8. "gshopper.com/gshopify/admin-api/graph/order/generated"
  9. )
  10. // FindDraftOrderByID is the resolver for the findDraftOrderByID field.
  11. func (r *entityResolver) FindDraftOrderByID(ctx context.Context, id string) (*generated.DraftOrder, error) {
  12. panic(fmt.Errorf("not implemented: FindDraftOrderByID - findDraftOrderByID"))
  13. }
  14. // FindOrderByID is the resolver for the findOrderByID field.
  15. func (r *entityResolver) FindOrderByID(ctx context.Context, id string) (*generated.Order, error) {
  16. panic(fmt.Errorf("not implemented: FindOrderByID - findOrderByID"))
  17. }
  18. // Entity returns generated.EntityResolver implementation.
  19. func (r *Resolver) Entity() generated.EntityResolver { return &entityResolver{r} }
  20. type entityResolver struct{ *Resolver }