From e1193098c85847011c788be8884d6b68582224a4 Mon Sep 17 00:00:00 2001 From: Zach Daniel Date: Wed, 29 Nov 2023 09:34:26 -0500 Subject: [PATCH] fix: don't eager evaluate composite type construction --- lib/ash/query/function/composite_type.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ash/query/function/composite_type.ex b/lib/ash/query/function/composite_type.ex index fd703866..5dc1876c 100644 --- a/lib/ash/query/function/composite_type.ex +++ b/lib/ash/query/function/composite_type.ex @@ -6,7 +6,7 @@ defmodule Ash.Query.Function.CompositeType do Check that type's documentation for this information. """ - use Ash.Query.Function, name: :composite_type + use Ash.Query.Function, name: :composite_type, eager_evaluate?: false def args, do: [[:any, :any], [:any, :any, :any]]