fix: typespec support Expr.t() in calculation builder

This commit is contained in:
Zach Daniel 2023-03-30 12:50:17 -04:00
parent cbc9703cc7
commit a745939913

View file

@ -428,7 +428,7 @@ defmodule Ash.Resource.Builder do
Spark.Dsl.Builder.input(),
name :: atom,
type :: Ash.Type.t(),
calculation :: module | {module, Keyword.t()},
calculation :: module | {module, Keyword.t()} | Ash.Expr.t(),
opts :: Keyword.t()
) ::
Spark.Dsl.Builder.result()