Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
"Comparing values with `nil` will always return `false`" warning after updating ash 3.5.34 to 3.5.35 - Ash Framework
AF
Ash Framework
โข
7mo ago
โข
6 replies
jeroen11dijk
"Comparing values with `nil` will always return `false`" warning after updating ash 3.5.34 to 3.5.35
So I updated the deps today and I get a lot of these warnings
.
warning
: Comparing values with
nil
nil
will always return
false
false
. Use
is_nil/1
is_nil/1
instead
. In
:
nil != {:_ref, [], :current_stop_id}
nil != {:_ref, [], :current_stop_id}
(ash 3
.5
.35
) lib
/ash
/changeset
/changeset
.
e
x
:973
: anonymous fn
/2 in Ash
.Changeset
.atomic
_default
_condition
/3
(elixir 1
.18
.4
) lib
/enum
.
e
x
:2546
: Enum
.
"
-reduce
/3
-lists
^foldl
/2
-0
-
"
/3
(ash 3
.5
.35
) lib
/ash
/changeset
/changeset
.
e
x
:968
: Ash
.Changeset
.atomic
_default
_condition
/3
(ash 3
.5
.35
) lib
/ash
/changeset
/changeset
.
e
x
:935
: anonymous fn
/3 in Ash
.Changeset
.atomic
_lazy
_update
_defaults
/1
(elixir 1
.18
.4
) lib
/enum
.
e
x
:4968
: Enumerable
.List
.reduce
/3
(elixir 1
.18
.4
) lib
/enum
.
e
x
:2600
: Enum
.reduce
_while
/3
(ash 3
.5
.35
) lib
/ash
/changeset
/changeset
.
e
x
:840
: Ash
.Changeset
.fully
_atomic
_changeset
/4
(ash 3
.5
.35
) lib
/ash
/actions
/update
/update
.
e
x
:88
: Ash
.Actions
.Update
.run
/4
(ash 3
.5
.35
) lib
/ash
.
e
x
:3638
: Ash
.update
/3
(zelo 0
.1
.0
) lib
/zelo
/planner
/resources
/change
/clear
_current
_stop
.
e
x
:49
: Zelo
.Planner
.Resources
.Change
.ClearCurrentStop
.handle
_parcel
_current
_stop
/4
(ash 3
.5
.35
) lib
/ash
/changeset
/changeset
.
e
x
:4499
: anonymous fn
/2 in Ash
.Changeset
.run
_before
_actions
/1
(elixir 1
.18
.4
) lib
/enum
.
e
x
:4968
: Enumerable
.List
.reduce
/3
(elixir 1
.18
.4
) lib
/enum
.
e
x
:2600
: Enum
.reduce
_while
/3
(ash 3
.5
.35
) lib
/ash
/changeset
/changeset
.
e
x
:4474
: Ash
.Changeset
.run
_before
_actions
/1
(ash 3
.5
.35
) lib
/ash
/changeset
/changeset
.
e
x
:4613
: Ash
.Changeset
.run
_around
_actions
/2
(ash 3
.5
.35
) lib
/ash
/changeset
/changeset
.
e
x
:4166
: anonymous fn
/3 in Ash
.Changeset
.with
_hooks
/3
(ash 3
.5
.35
) lib
/ash
/data
_layer
/data
_layer
.
e
x
:421
: Ash
.DataLayer
.transaction
/4
(ash 3
.5
.35
) lib
/ash
/changeset
/changeset
.
e
x
:4164
: anonymous fn
/3 in Ash
.Changeset
.with
_hooks
/3
`
`
`
Solution
https://github.com/ash-project/ash/commit/40f3af75246f18f20c379fd97fd6a182de9adb7d
GitHub
fix: resolve warning about `nil` atomics ยท ash-project/ash@40f3af7
fixes
#2288
Jump to solution
Ash Framework
Join
The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.
2,193
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Was this page helpful?
Yes
No
Similar Threads
Recent Announcements
Similar Threads
Concat with nil values
AF
Ash Framework / support
4y ago
many_to_many exception after updating Ash
AF
Ash Framework / support
3y ago
Problem with Ash.Type.dump_to_native/2 after upgrade to 3.5.41
AF
Ash Framework / support
6mo ago
Change in how `Ash.Changeset.force_change_attributes` handles `nil` values?
AF
Ash Framework / support
9mo ago