chore: fix incorrect typespec for SimpleCheck.context. (#529)

This commit is contained in:
James Harton 2023-03-20 13:38:46 +13:00 committed by GitHub
parent 3a82204c8f
commit 9dc202ca44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ defmodule Ash.Policy.SimpleCheck do
"""
@type context :: %{
optional(:query) => Ash.Query.t(),
optional(:changeset) => Ash.Query.t(),
optional(:changeset) => Ash.Changeset.t(),
:action => Ash.Resource.Actions.action(),
:resource => Ash.Resource.t(),
:api => Ash.Api.t()