feat(medusa): Add support for filtering with gt, lt, gte and lte (#190)

- Add support for filtering with lt, gt, lte, gte in the following format: created_at[gt]=01-26-1997
- Add middleware for cleaning request queries
- Add order query validation
- Temp. disables tags in claim integration tests
This commit is contained in:
Oliver Windall Juhl authored and GitHub committed 2021-03-01 11:32:17 +01:00
1 parent bb7dcbd706
commit dd0491f521
8 files changed
+357 -71

No files matched your search

@@ -11,9 +11,6 @@ describe("BaseService", () => {
id: "1234",
test1: ["123", "12", "1"],
test2: Not("this"),
rec: {
first: ["1", "2", "3"],
},
},
{
relations: ["1234"],
@@ -25,9 +22,6 @@ describe("BaseService", () => {
id: "1234",
test1: In(["123", "12", "1"]),
test2: Not("this"),
rec: {
first: In(["1", "2", "3"]),
},
},
relations: ["1234"],
})