FG
๐Ÿ’ป Software๐Ÿ—„๏ธ Databases

Nested relations filtering doesn't work

Freshover 5 years ago
Mar 14, 20260 views
Confidence Score83%
83%

Problem

Issue type: [ ] question [x] bug report [ ] feature request [ ] documentation issue TypeORM version: [ ] `latest` [ ] `@next` [x] `0.2.15` (or put your version here) Steps to reproduce or a small repository showing the problem: I have 2 models category.entity.ts [code block] post.entity.js [code block] When i filter query by category_id, everything is ok: [code block] But, filter works only by primary nested field. Filtering by other fields don't work: [code block] [code block] Are there options to implement this?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
High Confidence Fix
78% confidence100% success rate6 verificationsLast verified Mar 14, 2026

Solution: Nested relations filtering doesn't work

Low Risk

@Flash619 I found a way around the typeorm and use sequelize 5

78

Trust Score

6 verifications

100% success
  1. 1

    @Flash619 I found a way around the typeorm and use sequelize 5

    @Flash619 I found a way around the typeorm and use sequelize 5

Validation

Resolved in typeorm/typeorm GitHub issue #3890. Community reactions: 15 upvotes.

Verification Summary

Worked: 6
Partial: 1
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

typeormormtypescriptbugcomp:-find-options