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

Implement credentials_file support #62

Closed
wants to merge 2 commits into from
Closed

Conversation

tailhook
Copy link
Contributor

Also deprecate admin: true and edgedbadmin: protocol, as
they aren't needed if proper permissions are set up. And was introduced
mainly for command-line tools.

@tailhook tailhook requested a review from a team August 14, 2020 15:15
@tailhook tailhook force-pushed the credentials_file branch 4 times, most recently from a752658 to 60294d4 Compare August 14, 2020 17:03
src/con_utils.ts Outdated Show resolved Hide resolved
@tailhook tailhook force-pushed the credentials_file branch 2 times, most recently from f010628 to 3550391 Compare August 17, 2020 13:16
Also deprecate `admin: true` and `edgedbadmin:` protocol, as
they aren't needed if proper permissions are set up. And was introduced
mainly for command-line tools.
@@ -280,6 +280,9 @@ function parseConnectDsnAndArgs({
} else {
host = ["/run/edgedb", "/var/run/edgedb"];
}
if (!admin) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@1st1 this is how respective code in python looks like. Was this omission intentional?

@1st1
Copy link
Member

1st1 commented Aug 18, 2020

I'll take another look once edgedb/edgedb-rust#45 is settled.

@tailhook
Copy link
Contributor Author

Superseded by #63

@tailhook tailhook closed this Aug 21, 2020
@tailhook tailhook deleted the credentials_file branch December 10, 2021 15:31
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.

None yet

2 participants