Filter on filterable relation #244
Unanswered
danjirovec
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I'm want to achieve a situtation where I can filter on filterable relation of a filterable relation using TypeORM.
I have a ticket entity which has relation to event entity. Event entity has relation to business entity. When I try to get business ID from the ticket entity using the following GraphQL query:
I can't because there is no business field on the TicketFilterEventFilter even though I have declared filterable relation to business on the event entity.
TicketFilterEventFilter:
Event dto:
I tried using filterDepth query option but no luck with that. Is there a way to do what I'm describing? Thank you very much for any help.
Beta Was this translation helpful? Give feedback.
All reactions