Skip to content

Commit

Permalink
Add decorator prevent_sync_event_circular_query to checkout.deliveryM…
Browse files Browse the repository at this point in the history
…ethod (#15641)
  • Loading branch information
8r2y5 committed Mar 20, 2024
1 parent 22b6196 commit f3c0d1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions saleor/graphql/checkout/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -859,6 +859,7 @@ def resolve_shipping_methods(root: models.Checkout, info: ResolveInfo):
)

@staticmethod
@prevent_sync_event_circular_query
def resolve_delivery_method(root: models.Checkout, info: ResolveInfo):
return (
CheckoutInfoByCheckoutTokenLoader(info.context)
Expand Down

0 comments on commit f3c0d1e

Please sign in to comment.