Georges
Georges
AEAsh Elixir
Created by Georges on 5/4/2025 in #support
Getting the old Inspect behaviour in ash 3.5.8
The changelog for 3.5.7 states that one case use hide_inspect_fields and such to customize the Inspect output, and also that calculations and aggregates will be removed when empty. I'm on ash 3.5.8 and I see none of that in IEx (hide_inspect_fields is accepted but ignored, and I have aggregates: %{} and calculations: %{}). Is this expected in IEx? Anybody else has the same issue? Repro: created a new codebase, made a new domain and a resource with
actions do
defaults(create: [])
end

attributes do
uuid_v7_primary_key(:id)
end
actions do
defaults(create: [])
end

attributes do
uuid_v7_primary_key(:id)
end
and I can see empty aggregates and calculations maps
5 replies