Nested filter query

Hello, I hit another problem.
I have the following model in Graph.

(periodA:Period)-[:IN]->(periodB:Period)-[:IN]->(periodC:Period) 

Period has property ‘value’

What would be the graphql query to retrieve periodA value for periodB.value = X and periodC.value= Y?

I assumed something like this:

query{
 Period (filter: { AND: [{ in.value: 3 }, { in.in.value: 2020 }] }){
   value 
 }
}

but in.value is not a valid expression.

I tried other ways as well by following neo4j-graphql-js/graphql-filtering.md at master · neo4j-graphql/neo4j-graphql-js · GitHub
No luck.