From 7301e09654eb7a5e2306c965b705199196802ee4 Mon Sep 17 00:00:00 2001 From: Zach Daniel Date: Tue, 17 Oct 2023 11:11:18 -0400 Subject: [PATCH] chore: fetch type in `include_source/3` --- lib/ash/type/type.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ash/type/type.ex b/lib/ash/type/type.ex index 351d2620d..d47ae26bd 100644 --- a/lib/ash/type/type.ex +++ b/lib/ash/type/type.ex @@ -831,6 +831,7 @@ defmodule Ash.Type do end def include_source(type, changeset, constraints) do + type = get_type(type) type.include_source(changeset, constraints) end