File tree Expand file tree Collapse file tree 2 files changed +49
-5
lines changed
Expand file tree Collapse file tree 2 files changed +49
-5
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [main, staging]
6+ pull_request :
7+
8+ jobs :
9+ check-api :
10+ name : API - Type Check & Lint
11+ runs-on : ubuntu-latest
12+ defaults :
13+ run :
14+ working-directory : apps/api
15+ steps :
16+ - uses : actions/checkout@v4
17+ - uses : oven-sh/setup-bun@v1
18+ - run : bun install --frozen-lockfile
19+ - run : bun run tsc --noEmit
20+ - run : bun run biome check .
21+
22+ check-basket :
23+ name : Basket - Type Check & Lint
24+ runs-on : ubuntu-latest
25+ defaults :
26+ run :
27+ working-directory : apps/basket
28+ steps :
29+ - uses : actions/checkout@v4
30+ - uses : oven-sh/setup-bun@v1
31+ - run : bun install --frozen-lockfile
32+ - run : bun run tsc --noEmit
33+ - run : bun run biome check .
34+
35+ check-dashboard :
36+ name : Dashboard - Type Check & Lint
37+ runs-on : ubuntu-latest
38+ defaults :
39+ run :
40+ working-directory : apps/dashboard
41+ steps :
42+ - uses : actions/checkout@v4
43+ - uses : oven-sh/setup-bun@v1
44+ - run : bun install --frozen-lockfile
45+ - run : bun run tsc --noEmit
46+ - run : bun run biome check .
Original file line number Diff line number Diff line change @@ -117,11 +117,9 @@ export class SimpleQueryBuilder {
117117 for ( let i = 0 ; i < this . request . filters . length ; i ++ ) {
118118 const filter = this . request . filters [ i ] ;
119119 if ( ! filter ) continue ;
120- if ( this . config . allowedFilters ?. includes ( filter . field ) ) {
121- const { clause, params : filterParams } = this . buildFilter ( filter , i ) ;
122- whereClause . push ( clause ) ;
123- Object . assign ( params , filterParams ) ;
124- }
120+ const { clause, params : filterParams } = this . buildFilter ( filter , i ) ;
121+ whereClause . push ( clause ) ;
122+ Object . assign ( params , filterParams ) ;
125123 }
126124 }
127125
You can’t perform that action at this time.
0 commit comments