feat(schema): add retrieveExactProducts query to support detailed product retrieval
Added the `RetrieveExactProducts` query to the schema to enable fetching specific product details. This addition enhances the granularity of product data retrieval in the GraphQL API.
This commit is contained in:
parent
cffbaf66b3
commit
85576cf4ad
1 changed files with 2 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ from engine.core.graphene.mutations import (
|
||||||
RemoveOrderProductsOfAKind,
|
RemoveOrderProductsOfAKind,
|
||||||
RemoveWishlistProduct,
|
RemoveWishlistProduct,
|
||||||
RequestCursedURL,
|
RequestCursedURL,
|
||||||
|
RetrieveExactProducts,
|
||||||
Search,
|
Search,
|
||||||
)
|
)
|
||||||
from engine.core.graphene.object_types import (
|
from engine.core.graphene.object_types import (
|
||||||
|
|
@ -384,6 +385,7 @@ class Mutation(ObjectType):
|
||||||
bulk_order_action = BulkOrderAction.Field()
|
bulk_order_action = BulkOrderAction.Field()
|
||||||
bulk_wishlist_action = BulkWishlistAction.Field()
|
bulk_wishlist_action = BulkWishlistAction.Field()
|
||||||
feedback_product_action = FeedbackProductAction.Field()
|
feedback_product_action = FeedbackProductAction.Field()
|
||||||
|
retrieve_exact_products = RetrieveExactProducts.Field()
|
||||||
deposit = Deposit.Field()
|
deposit = Deposit.Field()
|
||||||
obtain_jwt_token = ObtainJSONWebToken.Field()
|
obtain_jwt_token = ObtainJSONWebToken.Field()
|
||||||
refresh_jwt_token = RefreshJSONWebToken.Field()
|
refresh_jwt_token = RefreshJSONWebToken.Field()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue