Commit 5b7e6cb
fix(sequelize): extend Inclusion interface with "required" property
This resolves errors such as the following when trying to use the
new property with a repository call:
```ts
Type '{ relation: string; scope: { where: { id: number; }; }; required: true; }'
is not assignable to type 'InclusionFilter'.
Object literal may only specify known properties, and 'required'
does not exist in type 'Inclusion'.
53 required: true
```
Signed-off-by: KalleV <kvirtaneva@gmail.com>1 parent 90ae407 commit 5b7e6cb
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
6 | 18 | | |
7 | 19 | | |
8 | 20 | | |
| |||
0 commit comments