imsujan276 / shopify_flutter

A flutter package that works as a bridge between your Shopify Store and Flutter Application
https://pub.dev/packages/shopify_flutter
MIT License
26 stars 27 forks source link

Gift Card Mutation Added #101

Open abubakarflutter opened 1 month ago

abubakarflutter commented 1 month ago

Issue #98 has been solved. Which was opened by me previous week. I have added mutation to update Gift Card codes on the Cart. It's just like Discount Code Update mutation which accepts the List of codes to apply or remove/update.

imsujan276 commented 1 month ago

Thank you for creating the PR.

But the PR is incomplete. The updateGiftCardCodesMutation you created has the appliedGiftCards property, but the Cart model does not seem to have been updated to reflect the changes. You can not access the applied gift card property in the cart.

If it was intended, then please remove the appliedGiftCards from the mutation. Or Please update all cart-related mutations and queries to add the appliedGiftCards property and update the cart model to access it