Skip to content

Implement new .NET Core 3.0 ADO.NET APIs - #2498

Merged
roji merged 1 commit into
npgsql:devfrom
roji:NewAsyncAPIs
Jul 7, 2019
Merged

roji merged 1 commit into
npgsql:devfrom
roji:NewAsyncAPIs

Conversation

@roji

@roji roji commented Jun 17, 2019

Copy link
Copy Markdown
Member

Pin dotnet sdk to 3.0.0-preview6 and implement new ADO.NET APIs introduced in .NET Core 3.0:

Note: we cross-target netcoreapp3.0 since the new APIs aren't yet
available in netstandard2.1, but this is expected to happen soon.

Fixes #2481

Pin dotnet sdk to 3.0.0-preview6 and implement new ADO.NET APIs
introduced in .NET Core 3.0:
* https://github.com/dotnet/corefx/issues/35564
* https://github.com/dotnet/corefx/issues/35012

Note: we cross-target netcoreapp3.0 since the new APIs aren't yet
available in netstandard2.1, but this is expected to happen soon.

Fixes npgsql#2481
@YohDeadfall

Copy link
Copy Markdown
Contributor

Note: we cross-target netcoreapp3.0 since the new APIs aren't yet
available in netstandard2.1, but this is expected to happen soon.

Maybe we should wait for this?

@roji

roji commented Jun 26, 2019

Copy link
Copy Markdown
Member Author

@YohDeadfall I'm working on it on the Microsoft side, but the idea was to get it in (afterwards it's just changing some #ifdefs). If this really bothers you we can wait.

@YohDeadfall YohDeadfall left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No, I'm fine with it if it doesn't appear soon in the standard. Otherwise, I prefer to wait a bit.

@austindrenski austindrenski left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🎉

@roji

roji commented Jul 2, 2019

Copy link
Copy Markdown
Member Author

Actually the three new APIs have made it into the standard in time for preview7 (dotnet/standard#1290, dotnet/standard#1284, dotnet/standard#1283), so am going to hold off on merging this.

@roji
roji merged commit 8d3daed into npgsql:dev Jul 7, 2019
@roji
roji deleted the NewAsyncAPIs branch January 21, 2021 15:38
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.

Override new async methods introduced in corefx

3 participants