We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57ed085 commit 6f9983aCopy full SHA for 6f9983a
lib/ash.ex
@@ -2050,7 +2050,7 @@ defmodule Ash do
2050
"""
2051
@doc spark_opts: [{2, @get_opts_schema}]
2052
@spec get(Ash.Resource.t(), term(), Keyword.t()) ::
2053
- {:ok, Ash.Resource.record()} | {:error, term}
+ {:ok, Ash.Resource.record() | nil} | {:error, term}
2054
def get(resource, id, opts \\ []) do
2055
Ash.Helpers.expect_resource!(resource)
2056
Ash.Helpers.expect_options!(opts)
0 commit comments