DivanteLtd / magento1-vsbridge

Run the Progressive Web App (PWA) on top of Magento 1.9. This is a Vue Storefront bridge for Magento 1.x. MIT License
https://vuestorefront.io
MIT License
57 stars 49 forks source link

Schema invalid: Invalid value types #24

Open mtarld opened 5 years ago

mtarld commented 5 years ago

In Magento1 vsBridge, json response is created using json_encode with JSON_NUMERIC_CHECK flag.

Therefore, every string that look like integer is casted as integer. That's a good thing, but that creates some bugs: