2
0

entity.resolvers.go 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. package graphql
  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/product/generated"
  9. )
  10. // FindCollectionByID is the resolver for the findCollectionByID field.
  11. func (r *entityResolver) FindCollectionByID(ctx context.Context, id string) (*generated.Collection, error) {
  12. panic(fmt.Errorf("not implemented: FindCollectionByID - findCollectionByID"))
  13. }
  14. // FindFulfillmentServiceByID is the resolver for the findFulfillmentServiceByID field.
  15. func (r *entityResolver) FindFulfillmentServiceByID(ctx context.Context, id string) (*generated.FulfillmentService, error) {
  16. panic(fmt.Errorf("not implemented: FindFulfillmentServiceByID - findFulfillmentServiceByID"))
  17. }
  18. // FindInventoryLevelByID is the resolver for the findInventoryLevelByID field.
  19. func (r *entityResolver) FindInventoryLevelByID(ctx context.Context, id string) (*generated.InventoryLevel, error) {
  20. panic(fmt.Errorf("not implemented: FindInventoryLevelByID - findInventoryLevelByID"))
  21. }
  22. // FindProductByID is the resolver for the findProductByID field.
  23. func (r *entityResolver) FindProductByID(ctx context.Context, id string) (*generated.Product, error) {
  24. panic(fmt.Errorf("not implemented: FindProductByID - findProductByID"))
  25. }
  26. // FindProductOptionByID is the resolver for the findProductOptionByID field.
  27. func (r *entityResolver) FindProductOptionByID(ctx context.Context, id string) (*generated.ProductOption, error) {
  28. panic(fmt.Errorf("not implemented: FindProductOptionByID - findProductOptionByID"))
  29. }
  30. // FindProductVariantByID is the resolver for the findProductVariantByID field.
  31. func (r *entityResolver) FindProductVariantByID(ctx context.Context, id string) (*generated.ProductVariant, error) {
  32. panic(fmt.Errorf("not implemented: FindProductVariantByID - findProductVariantByID"))
  33. }
  34. // Entity returns generated.EntityResolver implementation.
  35. func (r *Resolver) Entity() generated.EntityResolver { return &entityResolver{r} }
  36. type entityResolver struct{ *Resolver }