OData / OData/AspNetCoreOData

Need to support async queries

Open
#775 2 comments 8 reactions 1 assignee View on GitHub

@xuzhg is already working on this.

Since Dec 21, 2022.

feature
Dominant language
C#
Stars
505
Forks
186
PR merge metrics
No merged PRs in 30d

Description

It's absolutely essential for scalability that this library can support queries which can be done asynchronously.

Right now, the [EnableQuery] Attribute will take a query from Entity Framework Core and do an implicit ToList() on it in the constructor of TruncatedCollection<T>, meaning that its thread will block while the query is running.

I understand the need for library agnosticism but some way of allowing queries to be ran asynchronously, through config or otherwise must be possible, otherwise the scalability of this is in question.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.