Syntax for "query" argument in GraphQL (Storefront API)

I can’t believe that you can’t search within a specific collection, it feels like this should very much be core functionality.