SatelCreative / spylib

A library to facilitate interfacing with Shopify's API
https://satelcreative.github.io/spylib
MIT License
3 stars 2 forks source link

:recycle: Refactor gql error handling #221

Open hillairet opened 6 months ago

hillairet commented 6 months ago

This part of the code was rather hard to follow and I think error prone although it was thoroughly tested. This is however a nice cleanup that allows one to easily add more error handling without too much headache, I think. :pray: It's more lines of code but I believe that they are much more readable.

lishanl commented 6 months ago

yea refactoring should preserve the original functionality / behavior. 👍🏼 Thanks ant