jason.o
Unknown options [:compensate], valid options are: [:async?, :max_retries, :transform, :context, :description, :guards, :ref]
Just upgraded ash from 3.4.36 to 3.4.62 and I start to get this error in my reactor module. My code has no :compensate in my_reactor.ex, so I’m assuming it’s coming from Ash.Reactor. Can someone please give some pointers?
== Compilation error in file lib/myapp/reactor/my_reactor.ex ==
**** (Spark.Options.ValidationError) unknown options [:compensate], valid options are: [:async?, :max_retries, :transform, :context, :description, :guards, :ref]**
(spark 2.2.43) lib/spark/dsl/extension.ex:702: Spark.Dsl.Extension.raise_transformer_error/2
(elixir 1.17.2) lib/enum.ex:4858: Enumerable.List.reduce/3
(elixir 1.17.2) lib/enum.ex:2585: Enum.reduce_while/3
myapp/lib/myapp/reactor/my_reactor.ex:1: (file)
defmodule MyApp.MyReactor do
use Ash.Reactor
alias MyApp.Tasks.DateInstance
ash do
default_domain MyApp.Tasks
end
input(:calendar_id)
input(:date_input)
ash_step :date_change_calc, MyApp.Tasks.DateChangeCalcStep do
argument :calendar_id, input(:calendar_id)
argument :date_input, input(:date_input)
end
transaction :delete_and_insert, DateInstance do
step :delete_unnecessary_date_instances,
MyApp.Tasks.DeleteUnnecessaryDateInstancesStep do
argument :date_change_calc_output, result(:date_change_calc)
end
step :upsert_updated_date_instances, MyApp.Tasks.UpsertUpdatedDateInstancesStep do
argument :date_change_calc_output, result(:date_change_calc)
end
end
return(:delete_and_insert)
end
Most Liked
Popular in Questions
In Ruby, I can go:
User.find_by(email: "foobar@email.com").update(email: "hello@email.com")
How can I do something similar in Elixir?
...
New
If I have a post route which an argument:
post /my_post_route/:my_param1, MyController.my_post_handler
How would get the post params ...
New
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: )
Hello all, this is ...
New
In templates/appointment/index.html.eex:
<%= for appointment <- @appointments do %>
<tr>
<td><%= appoi...
New
I have VueJS GUIs with the project generated using Webpack.
I have Elixir modules that will need to be used by the VueJS GUIs.
I forese...
New
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
Hi!
In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir?
Searched the docs for ip address and the web, no good results.
Thanks!
New
I tried installing
elixir 1.11.2
erlang 23.3.4
via asdf in my zsh shell. Enabled the versions locally and globally.
When I list them ...
New
Hi everyone,
I was playing with phoenix liveView but I run into an issue. I have a form and want to validate each input text when the te...
New
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
Other popular topics
Posting this to see if we can make things easier for people to get into Neovim. If you use Neovim and have a favourite distro please let ...
New
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
Good day to you all.
I have been struggling to get a query involving like and ilike to work.
Can anyone assist me on this, please?
pro...
New
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
Hi everyone,
One of the features added to Elixir early on to help integration with Erlang code was the idea of overridable function defi...
New
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum.
...
New
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar.
I p...
New
What is the proper way to load a module from a file in to IEX?
In the python world, doing something like this pretty standard:
from ....
New
Hi everyone!
I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









