In addition to all the problems described in #1, the resolver for undergraduateDegreeObtainedBystudent in the cache-variation of the test server has another, even worse problem: The if-block for the filter condition creates a new variable called students by using the keyword let (see line 272), which makes this new variable not visible outside of this block!!! Consequently, after doing all of the filtering, the resolver completely ignores what it just did and, instead, returns the unfiltered list of grad students (see line 310)!!!!
In addition to all the problems described in #1, the resolver for undergraduateDegreeObtainedBystudent in the cache-variation of the test server has another, even worse problem: The if-block for the filter condition creates a new variable called
students
by using the keywordlet
(see line 272), which makes this new variable not visible outside of this block!!! Consequently, after doing all of the filtering, the resolver completely ignores what it just did and, instead, returns the unfiltered list of grad students (see line 310)!!!!Argh!!!