AE
Ash Elixir•6h ago
Georges

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
Solution:
Yeah it's a bug will be fixed in the next release
Jump to solution
2 Replies
Solution
ZachDaniel
ZachDaniel•6h ago
Yeah it's a bug will be fixed in the next release
Georges
GeorgesOP•5h ago
Thanks 🙂

Did you find this page helpful?