Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NET Core 2.0 version #38

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

NET Core 2.0 version #38

wants to merge 6 commits into from

Conversation

irium
Copy link

@irium irium commented Jan 27, 2018

I've ported FsSql to .NET Core 2.0.

With some changes:

  • tests are working only on Windows, because I don't know what is actual SQLite NuGet for Linux now.
  • tests are ported to Expecto, as Fuchu is no longer maintained and Expecto superceeded it.

Async.FromBeginEnd(abegin, aend, acancel)
member cmd.AsyncExecReader(?cancellationToken:CancellationToken) : SqlDataReader Async =
match cancellationToken with
| Some ct -> cmd.ExecuteReaderAsync(ct) |> Async.AwaitTask
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is bugged since async needs to be re-executable (cold) and tasks are hot. See if you can defer the creation of the task into an async workflow or something of the like.

Copy link
Author

@irium irium Jan 28, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh, got it! Fixed now.

@haf
Copy link
Contributor

haf commented Jan 29, 2018

Now it could be a long wait; you should consider publishing a package meanwhile, as @mausch isn't very active any more.

@haf
Copy link
Contributor

haf commented Feb 5, 2018

@irium Would you consider forking and maintaining at another nuget id, please?

@irium
Copy link
Author

irium commented Feb 23, 2018

@haf I'm not sure I have time to fully maintain public NuGet package.
And I didn't done it before. Also I have no Linux machine, so it would be Windows only (or expect help with Linux related code from some of you ;)

I could try. What name we'll choose for new NuGet? FsSql.Core maybe?

@haf
Copy link
Contributor

haf commented Feb 23, 2018

@irium There's not much traffic to this nuget, so you'd probably not have to spend too much time on it. I'm happy to hear you're considering it.

Sure, FsSql.Core could work.

@irium
Copy link
Author

irium commented Feb 23, 2018

Ok :) Now I'm learning how to configure all this nuget publishing :)

@haf
Copy link
Contributor

haf commented Feb 23, 2018

https://github.com/haf/expecto is a good example

@irium
Copy link
Author

irium commented Feb 23, 2018

@haf Here it is: https://www.nuget.org/packages/FsSql.Core/
:)

I think it makes sense to move further PRs and issues to https://github.com/irium/FsSql

@czifro
Copy link

czifro commented May 7, 2018

@irium I noticed there is no way to post issues on your fork. Not that I have an issue to submit, but if I did in the future, how would I be able to do that?

@haf
Copy link
Contributor

haf commented May 7, 2018

@irium needs to go to settings, enable issues.

@irium
Copy link
Author

irium commented May 7, 2018

@czifro @haf Oh, sorry :) Now enabled :)

@czifro
Copy link

czifro commented May 7, 2018

@irium Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants