query options should be passed to queryFetch and middleware request for query