Skip to content

Add support for ProvidePasswordCallback to EFCore.PG - #917

Merged
roji merged 2 commits into
npgsql:devfrom
williamdenton:provide-password-callback
Aug 29, 2019
Merged

roji merged 2 commits into
npgsql:devfrom
williamdenton:provide-password-callback

Conversation

@williamdenton

Copy link
Copy Markdown

This repo has not been updated to use a new enough version (>4.1) of Npgsql yet for this to compile. I didn't want to charge ahead and do that as it seems outside the scope of this PR to do that upgrade, but it is required for this PR as it uses the new member ProvidePasswordCallback on NpgsqlConnection which was added in npgsql/npgsql#2502

@austindrenski

Copy link
Copy Markdown
Contributor

I didn't want to charge ahead and do that as it seems outside the scope of this PR to do that upgrade, but it is required for this PR

Appreciate the narrow approach you've taken, but feel free to add the upgrade as a separate (prepended) commit so that the CI tests build during review.

We can always drop or cherry-pick around it when it's time to merge.

@williamdenton

This comment has been minimized.

Comment thread Directory.Build.props Resolved

@roji roji left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good overall, thanks for plumbing this through the EF Core provider.

Missing: You also need to make the appropriate changes in NpgsqlOptionsExtension.cs.PopulateDebugInfo

@williamdenton

Copy link
Copy Markdown
Author

forced pushed the change to keep it easy to remove the 4.1 upgrade commit later

@williamdenton

Copy link
Copy Markdown
Author

Rebased on preview 7

@williamdenton

Copy link
Copy Markdown
Author

Looks like I need to fix this up more. I'm away for the next week then will get this sorted

@roji

roji commented Jul 25, 2019

Copy link
Copy Markdown
Member

Thanks for this extra work @williamdenton, take your time.

@williamdenton

This comment has been minimized.

@williamdenton

This comment has been minimized.

@williamdenton

williamdenton commented Aug 16, 2019 •

Copy link
Copy Markdown
Author

@roji I've rebased on latest dev and this looks like its passing now that npgsql 4.1 is referenced

@roji roji left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, could you please rebase on the latest dev? I'm seeing some conflicts locally (which for some reason don't appear on github).

@williamdenton

Copy link
Copy Markdown
Author

@roji rebased on aa6809e

@roji
roji merged commit e76f3bb into npgsql:dev Aug 29, 2019
@roji

roji commented Aug 29, 2019

Copy link
Copy Markdown
Member

Remerged via a2180f0 - the original merge somehow did not occur?

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.

4 participants