Kai Ju Liu
Results
2
comments of
Kai Ju Liu
I was banging my head against nested operators last night before realizing this morning that it's really a nested filter issue. FWIW, it appears that filters on nested objects within...
After digging around in the code, I discovered that nested filters (and thus nested operators) work if you use subdocuments versus nested paths (https://mongoosejs.com/docs/subdocs.html#subdocuments-versus-nested-paths). I was looking at https://github.com/graphql-compose/graphql-compose-mongoose/blob/master/src/resolvers/helpers/filter.ts#L147 and...