Skip to content

Conversation

iacutone
Copy link
Contributor

The typespec for Postgrex.start_link/1 is incorrect. This function wraps DBConnection.start_link/2 which has a GenServer.on_start() type.

I'd like to introduce an accurate type for Postgrex.start_link/1.

@wojtekmach wojtekmach merged commit 731a1ae into elixir-ecto:master Oct 22, 2024
7 of 9 checks passed
@wojtekmach
Copy link
Member

Thank you!

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