Skip to content

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

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

Implement new .NET Core 3.0 ADO.NET APIs#2498
roji merged 1 commit intonpgsql:devfrom
roji:NewAsyncAPIs

Conversation

@roji
Copy link
Member

@roji roji commented Jun 17, 2019

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
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
Copy link
Member Author

roji commented Jun 26, 2019

@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.

Copy link
Contributor

@YohDeadfall YohDeadfall left a comment

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.

Copy link
Contributor

@austindrenski austindrenski left a comment

Choose a reason for hiding this comment

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

🎉

@roji
Copy link
Member Author

roji commented Jul 2, 2019

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