Closed whatyouhide closed 1 year ago
available_connection_options
perhaps?
@josevalim the type is called DBConnection.option/0
, and these are passed to basically all DBConnection
functions, so I’m not sure... 😕
It seems most of our specs use Keyword.t()
? Should we align that instead then? But if we are doing that, I would prefer to call it t:DBConnection.connection_options
to avoid ambiguity?
@josevalim yeah, the type is there but not really used. If you want, we can add t:DBConnection.connection_option/0
, deprecate t:DBConnection.option/0
, and change specs to use DBConnection.connection_option/0
. Thoughts?
Sure!
@josevalim done.
:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:
Follow up to #290.