Issues using Ash.Type.Union
So I'm trying to use Ash.Type.Union and I keep getting errors when attempting to load the resource,
I have defined an embedded resource
I have defined an embedded resource
defmodule VMX.Transactions.TransactionData.Type.Call do
use Ash.Resource, data_layer: :embedded
attributes do
attribute :call_uuid, :string
attribute :plivo_recording_url, :string
attribute :receiver, :string
attribute :recording_duration, :string
attribute :recording_url, :string
attribute :recording_uuid, :string
attribute :sender, :string
end
end