Filter in not going to apply in the nested arrays of roles in nest js using mikroorm with mongodb many to many relations with user and roles

please help me
i am applying the filter in the nested many to many relations roles in this query in user.service.ts like this:

const users = await this.repo.findAndCount({roles: {slug: ‘admin’}});

but i have get empty records, please tell me whats am i doing wrong?

this is my User model

    import { Collection, Entity, EntityRepositoryType, Enum, Filter, ManyToMany, PrimaryKey, Property, Unique } from '@mikro-orm/core';
    import { ObjectId } from '@mikro-orm/mongodb';
    import { UserRepository } from './user.repository';
    import { UserStatus } from 'src/constants/UserStatus';
    import { UserType } from 'src/constants/UserType';
    import { Role } from 'src/role/role.model';
    import { MainEntity } from 'src/helper/db/base.entity';
    
    @entity({ repository: () => UserRepository })
    export class User extends MainEntity {
    [EntityRepositoryType]?: UserRepository;
    
    @Property()
    firstName!: string;
    
    @Property()
    lastName!: string;
    
    @Property()
    password!: string;
    
    @Property()
    @unique()
    email!: string;
    
    @Property({nullable: true})
    countryCode!: string;
    
    @Property({nullable: true})
    phone!: string;
    
    @Property()
    @enum(() => UserType)
    userType!: string;
    
    @Property()
    @enum(() => UserStatus)
    status!: UserStatus;
    
    @manytomany(() => Role, role => role.users, { owner: true, eager: true })
    roles = new Collection(this);
    }

this is my Role model


    import { Collection, Entity, EntityRepositoryType, Enum, ManyToMany, PrimaryKey, Property, Unique } from '@mikro-orm/core';
    import { ObjectId } from '@mikro-orm/mongodb';
    import { RoleRepository } from './role.repository';
    import { User } from 'src/user/user.model';
    import { RoleEnum } from 'src/constants/Role';
    import { Exclude, Expose } from 'class-transformer';
    import { Permission } from 'src/permission/permission.model';
    import { MainEntity } from 'src/helper/db/base.entity';
    
    @entity({ repository: () => RoleRepository })
    export class Role extends MainEntity {
    [EntityRepositoryType]?: RoleRepository;
    
    @expose()
    @Property({ unique: true })
    @enum(() => RoleEnum)
    role!: RoleEnum;
    
    @expose()
    @Property({ unique: true })
    slug!: string;
    
    // @exclude()
    @manytomany(() => User, user => user.roles)
    users = new Collection(this);
    
    @manytomany(() => Permission, permission => permission.roles, { owner: true, eager: true})
    permissions = new Collection(this);
    }

this roleRepository


    export class RoleRepository extends AppRepository {
    // custom methods
    }

this is user repo


    import { User } from "./user.model";
    import { AppRepository } from "src/confugrations/database/mikro-orm/apprepository/app.repository";
    
    export class UserRepository extends AppRepository {
    // custom methods
    }

this is common AppRepo


    import { AnyEntity, EntityManager, EntityRepository, FilterQuery, ObjectId } from "@mikro-orm/mongodb";
    
    export class AppRepository extends EntityRepository {
    
    persist(entity: AnyEntity | AnyEntity[]): EntityManager {
        return this.em.persist(entity);
    }
    
    async persistAndFlush(entity: AnyEntity | AnyEntity[]): Promise {
        await this.em.persistAndFlush(entity);
    }
    
    remove(entity: AnyEntity): EntityManager {
        return this.em.remove(entity);
    }
    
    async removeAndFlush(entity: AnyEntity): Promise {
        await this.em.removeAndFlush(entity);
    }
    
    async flush(): Promise {
        return this.em.flush();
    }
    
    
    }

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật