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

Turn on API consistency tests #1354

Merged
merged 1 commit into from
Apr 29, 2020
Merged

Turn on API consistency tests #1354

merged 1 commit into from
Apr 29, 2020

Conversation

roji
Copy link
Member

@roji roji commented Apr 28, 2020

This brings in the upstream API consistency tests, and corrects many small issues. There are some extremely minor breaking changes on APIs that users are never expected to use, and no behavioral changes.

Note: this PR is based off of #1353

@roji roji requested a review from YohDeadfall as a code owner April 28, 2020 22:25
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.

Looks good, but there is question. Why JetBrains annotations and not the build-in?

@roji
Copy link
Member Author

roji commented Apr 29, 2020

Why JetBrains annotations and not the build-in?

Good question :) Annotating the EF Core public API itself is tracked by dotnet/efcore#14150, and we're not sure we'll have time to do it for 5.0. Without annotating the EF Core APIs, it makes no sense to annotate only EFCore.PG (annotation should happen bottom-up). Even when we do C# NRT annotations, the plan is to still keep the Jetbrains annotations - at least for a while - for people not yet using the new NRT feature.

In any case, the Jetbrains annotation are like a first step - they will make it easier to annotate with the built-in ones later.

@roji roji merged commit 95bced3 into npgsql:dev Apr 29, 2020
@roji roji deleted the ApiConsistency branch September 8, 2020 12:29
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