mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 05:23:03 +12:00
fix: spec + dialyzer fixes
This commit is contained in:
parent
9ed9f82087
commit
3b1bde6a39
2 changed files with 2 additions and 1 deletions
|
@ -438,7 +438,6 @@ defmodule Ash.Api do
|
|||
end
|
||||
|
||||
@doc false
|
||||
@spec update!(Ash.api(), Ash.changeset(), Keyword.t()) :: Ash.resource() | no_return()
|
||||
def update!(api, changeset, opts) do
|
||||
opts = NimbleOptions.validate!(opts, @update_opts_schema)
|
||||
|
||||
|
|
|
@ -48,6 +48,8 @@ defmodule Ash.Resource do
|
|||
@doc false
|
||||
alias Ash.Dsl.Extension
|
||||
|
||||
@type t :: %__MODULE__{}
|
||||
|
||||
Module.register_attribute(__MODULE__, :is_ash_resource, persist: true, accumulate: false)
|
||||
@is_ash_resource true
|
||||
|
||||
|
|
Loading…
Reference in a new issue