Skip to content

Commit

Permalink
fix(types): Graph types fixes (#10220)
Browse files Browse the repository at this point in the history
RESOLVES TRI-599

**What**
- Fix missing filter type in the graph query API
  • Loading branch information
adrien2p authored Nov 22, 2024
1 parent 1efe4e9 commit 9d5b041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/types/src/modules-sdk/to-remote-query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type ExtractFiltersOperators<
: Key extends ExcludedProps
? never
: T[Key] extends string | number | boolean | Date
? T[Key] | OperatorMap<T[Key] | T[Key][]>
? T[Key] | T[Key][] | OperatorMap<T[Key] | T[Key][]>
: T[Key] extends Array<infer R>
? TypeOnly<R> extends { __typename: any }
? RemoteQueryFilters<
Expand Down

0 comments on commit 9d5b041

Please sign in to comment.