fix: properly handle optional args in code interface

This commit is contained in:
Zach Daniel 2023-02-14 23:08:51 -05:00
parent 3cef87749d
commit 1e76e74f4f

View file

@ -307,7 +307,7 @@ defmodule Ash.CodeInterface do
__MODULE__, __MODULE__,
elem(__ENV__.function, 0), elem(__ENV__.function, 0),
[ [
unquote_splicing(arg_vars_function), unquote_splicing(arg_vars),
%{}, %{},
params_or_opts params_or_opts
] ]