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

Encode all possible DB options #546

Merged
merged 1 commit into from
May 16, 2021

Conversation

hauleth
Copy link
Contributor

@hauleth hauleth commented May 14, 2021

Previous implementation was buggy in several ways:

  • It required :username, :password, :hostname, and :database fields while only :database is required by Ecto
  • It ignored c:init/2 in the repo definition
  • It ignored additional options passed to the repository
  • Did not allowed for :socket_dir configuration

This fixes all these problems at once.

@jbodah jbodah merged commit 6dc61ad into elixir-editors:master May 16, 2021
@jbodah
Copy link
Collaborator

jbodah commented May 16, 2021

LGTM

@hauleth hauleth deleted the fix/encode-all-db-options branch November 16, 2021 08:16
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.

2 participants