Better async support
See original GitHub issueSetup a quick test project - this library works very well and is a real layer of sanity on top of graphql-dotnet. I noticed the querying is all sync, and presumably async would be better?
Looks like graphql-dotnet supports awaiting resolvers: https://github.com/graphql-dotnet/graphql-dotnet/issues/205#issuecomment-257482356
At first glance, it looks like just SqlQueryContext
needs an ExecuteAsync
companion method.
Would this make sense/be within the goals of your library?
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
5 async/await best practices
Simply put, async/await is a way to write asynchronous code that looks and behaves like synchronous code. It allows you to pause the...
Read more >Asynchronous support
Django has support for writing asynchronous (“async”) views, along with an entirely async-enabled request stack if you are running under ASGI. Async views...
Read more >Even with async/await, raw promises are still key to writing ...
Understanding promises helps understand the concepts at the foundation of async/await, and help you write better async functions. But even if you're already...
Read more >Unlocking Performance: A Guide to Async Support in Django
In the world of Django, async support has emerged as a powerful tool for unlocking ... The main advantage of async programming is...
Read more >How can async support dispatch between sync and async ...
Problem A common scenario for library authors is that they accept some callable as a callback for user-defined logic.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks Doug!
This was released to NuGet in version 0.2.1-beta: https://www.nuget.org/packages/Dapper.GraphQL/0.2.1-beta