feat(medusa): cart context (#201)

- Adds a context field to Cart
- context is automatically populated with ip + user agent
- context can be updated via POST /store/cart/:id or set when creating via POST /store/cart
This commit is contained in:
Sebastian Rindom
2021-03-12 11:48:51 +01:00
committed by GitHub
parent a031f1f338
commit dd7b306333
20 changed files with 3499 additions and 657 deletions

10
scripts/integration-tests.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
medusa-dev --set-path-to-repo .
cd integration-tests/api
medusa-dev --force-install --scan-once
yarn test