improvement: Include modules in installed_extensions return type (#202)

As per the documentation (and indeed the actual behavior):

> Extensions can be a string, representing a standard postgres
extension, or a module that implements `AshPostgres.CustomExtension`.
This commit is contained in:
Kilian Cirera Sant 2024-02-05 16:52:09 -05:00 committed by GitHub
parent 809cd5582f
commit b2b05618b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,7 +42,7 @@ defmodule AshPostgres.Repo do
"""
@doc "Use this to inform the data layer about what extensions are installed"
@callback installed_extensions() :: [String.t()]
@callback installed_extensions() :: [String.t() | module()]
@doc """
Use this to inform the data layer about the oldest potential postgres version it will be run on.