fsprojects / fsprojects/FSharp.Data.SqlClient
Include Task-based execution on SqlCommandProvider
Nobody has claimed this yet.
- Dominant language
- F#
- Stars
- 206
- Forks
- 66
- PR merge metrics
- No merged PRs in 30d
Description
It would be nice to have the option of using Task rather than Async when combining workflows with other asynchronous behaviors. Pretty much any third party library in the .NET ecosystem is going to be using Task and it would be handy to be able to jump right into that without converting from Async.
I am proposing to add the method 'TaskExecute' on the command generated from SqlCommandProvider. This method which would act in parallel to the currently existing 'AsyncExecute'.
I'm happy to work at implementing this if the package maintainers think it's a good idea and would be likely to merge it in.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the command generated from SqlCommandProvider and compare the existing AsyncExecute API with the proposed TaskExecute method. The work is done when TaskExecute provides the requested Task-based execution path in parallel with AsyncExecute and integrates with the project's existing validation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fsharp, sql
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100