Gatsby.js: Filter GraphQL query by nested object property
I'm working on a news site which will have articles, each with one or multiple respective authors. If you click on an author's name, it will take you to a page displaying their information and a list of articles they have contributed to. So each article has an authors property, which in turn is an array of author objects with properties: full name, slug ( lowercase version of full name with spaces replaced by dashes ), etc. Is it possible to filter the articles by a particular author's slug when defining the query? query authorQuery($slug: String!) { allContentfulArticle(filter: { //not sure