© 2026 Hedgehog Software, LLC
Ash.Query.filter_input(query, %{"archived_at" => %{"is_nil" => false}})
exclude_read_actions
archive do attribute :archived_at exclude_read_actions :list_contacts end
action :list_contacts, :map do argument :search, :string argument :filter, :map argument :sort, :string argument :page, :string, default: "1" run {MyApp.Actions.Listing, resource: __MODULE__, search_by: [:name], serializer: :serialize_contacts} end
base_filter
:include_archived
action: :include_archived
Ash.read