Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Missing __spark_metadata__ field in Ash.Notifier.PubSub.Publication struct - Ash Framework
AF
Ash Framework
•
6mo ago
•
1 reply
njimenez
Missing __spark_metadata__ field in Ash.Notifier.PubSub.Publication struct
After upgrading to Spark 2
.3
.4 and Elixir 1
.18
.4
, I
’m seeing the following warning
:
warning
: Entity without
spark
_metadata
field is deprecated
. Entity Ash
.Notifier
.PubSub
.Publication does not define a
__spark_metadata__
__spark_metadata__
field
. This field is required to access source annotations
. Add
__spark_metadata__: nil
__spark_metadata__: nil
to the defstruct for Ash
.Notifier
.PubSub
.Publication
.
(elixir 1
.18
.4
) lib
/enum
.
e
x
:987
: Enum
.
"
-each
/2
-lists
^foreach
/1
-0
-
"
/2
(spark 2
.3
.4
) lib
/spark
/dsl
/extension
.
e
x
:2135
: Spark
.Dsl
.Extension
.
after
_verify
/1
(elixir 1
.18
.4
) lib
/enum
.
e
x
:987
: Enum
.
"
-each
/2
-lists
^foreach
/1
-0
-
"
/2
(elixir 1
.18
.4
) lib
/module
/parallel
_checker
.
e
x
:244
: Module
.ParallelChecker
.check
_module
/3
(elixir 1
.18
.4
) lib
/module
/parallel
_checker
.
e
x
:90
: anonymous fn
/7 in Module
.ParallelChecker
.inner
_spawn
/6
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
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
ash notifier pubsub question
AF
Ash Framework / support
8mo ago
How to use Ash.Notifier.PubSub filter?
AF
Ash Framework / support
10mo ago
Ash.Notifier
AF
Ash Framework / support
6mo ago
What is the __metadata__ field in new versions of Ash?
AF
Ash Framework / support
3y ago