title: Cosmonaut (CosmosDb) - Query does not working
body: <p>I try to query CosmosDb by using Cosmonaut. I follow its documentation to know better how to <a href="https://cosmonaut.readthedocs.io/en/latest/Reading-and-Querying.html" rel="nofollow noreferrer">read/query</a></p>
  
  <p>Here is my method in a repo</p>
  
  <pre><code> public async Task&lt;IEnumerable&lt;Object&gt;&gt; GetAsync(GetObjects query)
      {
  
          try
          {
              var result = await _objectStore.Query().ToListAsync();
              //var testOne= await _objectStore.Query(new FeedOptions { PartitionKey = new PartitionKey(query.foo) }).ToListAsync();
              return result;
          }
          catch (Exception e)
          {
              throw e;
          }
      }
  </code></pre>
  
  <p>It is so strange that when I hit the below line, it terminates without throwing any exception and therefore it makes it hard to know what is the issue. </p>
  
  <pre><code> var result = await _objectStore.Query().ToListAsync();
   //var testOne= await _objectStore.Query(new FeedOptions { PartitionKey = new PartitionKey(query.foo) }).ToListAsync();
  </code></pre>
  
  <p>Does anyone have any idea?</p>