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__ field. This field is required to access source annotations. Add __spark_metadata__: nil to the defstruct for Ash.Notifier.PubSub.Publication. (elixir 1.18.4) lib/enum.ex:987: Enum."-each/2-lists^foreach/1-0-"/2 (spark 2.3.4) lib/spark/dsl/extension.ex:2135: Spark.Dsl.Extension.after_verify/1 (elixir 1.18.4) lib/enum.ex:987: Enum."-each/2-lists^foreach/1-0-"/2 (elixir 1.18.4) lib/module/parallel_checker.ex:244: Module.ParallelChecker.check_module/3 (elixir 1.18.4) lib/module/parallel_checker.ex:90: anonymous fn/7 in Module.ParallelChecker.inner_spawn/6
1 Reply
Abu kumathra
Abu kumathra6d ago
yes that's normal, Open to PRs if you want

Did you find this page helpful?