** (Spark.Error.DslError) [MySuperSecretProject.SomeResource] pub_sub -> publish: invalid value for :topic option: invalid list in :topic option: expected list element at position 2 to match at least one given type, but didn't match any. Here are the reasons why it didn't match each of the allowed types: * invalid value for list element at position 2: expected atom, got: [:id, nil] * invalid value for list element at position 2: expected string, got: [:id, nil]
** (Spark.Error.DslError) [MySuperSecretProject.SomeResource] pub_sub -> publish: invalid value for :topic option: invalid list in :topic option: expected list element at position 2 to match at least one given type, but didn't match any. Here are the reasons why it didn't match each of the allowed types: * invalid value for list element at position 2: expected atom, got: [:id, nil] * invalid value for list element at position 2: expected string, got: [:id, nil]
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.