Skip to content

Commit b2b0561

Browse files
authored
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`.
1 parent 809cd55 commit b2b0561

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/repo.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ defmodule AshPostgres.Repo do
4242
"""
4343

4444
@doc "Use this to inform the data layer about what extensions are installed"
45-
@callback installed_extensions() :: [String.t()]
45+
@callback installed_extensions() :: [String.t() | module()]
4646

4747
@doc """
4848
Use this to inform the data layer about the oldest potential postgres version it will be run on.

0 commit comments

Comments
 (0)