Let's say I have the following schema
type Query {
shows: [Show]
}
type Show {
# The showId may or may not be there, depending on the scenario.
showId: ID
title: String
reviews(filter: MyFilter): [Review]
}
type Review {
starRating: Int
text: String
}
I want to use Netflix DGS pre-loading to fetch reviews in one DB query with the shows as I can easily join it in the DB. Moreover implementing it effectively using DataLoaders is far from straightforward. The question is how to access the review filter MyFilter
from the shows fetcher?