Commit 14175fb
authored
fix(query-mongoose): ReferenceQueryService only accepted Relations with ObjectIds (#340)
There is a hard limitation in `ReferenceQueryService` that can only
handle Relations/UnpagedRelations when the id fields are of type
`ObjectId`. Since you can make relations with all kinds of field types
in mongoose, nestjs-query should also support it.File tree
1 file changed
+2
-2
lines changed- packages/query-mongoose/src/services
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
199 | | - | |
| 198 | + | |
| 199 | + | |
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| |||
0 commit comments