Closed andrewf414 closed 3 years ago
Hi, I imagine this happens elsewhere, but I am looking at signup giving a generic "something went wrong" type error. Could it pass back the actual error to be more useful? e.g. "email xxxx already in use"? https://github.com/bigcommerce/storefront-data-hooks/blob/bf5d80224e4ae44413f6538b4855f88775e47494/src/api/customers/signup.ts
Yes, it's something we contemplate, I think in those cases like login it would be quite useful.
I close as it is a duplicate of #23
Hi, I imagine this happens elsewhere, but I am looking at signup giving a generic "something went wrong" type error. Could it pass back the actual error to be more useful? e.g. "email xxxx already in use"? https://github.com/bigcommerce/storefront-data-hooks/blob/bf5d80224e4ae44413f6538b4855f88775e47494/src/api/customers/signup.ts