fix: allow new filter pattern in typespec

This commit is contained in:
Zach Daniel 2021-12-21 13:06:19 -05:00
parent 9a9741bdc4
commit ef81843240

View file

@ -19,6 +19,7 @@ defmodule Ash.Authorizer do
:authorized :authorized
| {:continue, state} | {:continue, state}
| {:filter, Keyword.t()} | {:filter, Keyword.t()}
| {:filter, Keyword.t(), state}
| {:filter_and_continue, Keyword.t(), state} | {:filter_and_continue, Keyword.t(), state}
| {:error, term} | {:error, term}
@callback check_context(state) :: [atom] @callback check_context(state) :: [atom]