AshOban - no configuration for `domain`
I'm trying to get a scan to run on a cron schedule with Oban, but I'm having some trouble configuring it.
This is my Oban configuration in the resource:
However, it complains when I try to compile (or run anything):
In
application.ex
, I have the following Oban config:
Did I miss anything? How could I further debug this? If, alternatively, I should try to solve this in a different way entirely I'm all ears as well! (Oban triggers?)6 Replies
Solution
you can tray and add
and see if that works, but that shouldn't be necessary anymore since Ash 3.0
Thanks! That did get rid of this particular error, on to the next one:
Must configure the queue
:scan_configuration_run_scan
what version of the libraries are you on?
tha'ts just standard oban, in the config.exs file
versions look good, I'll put it on my list to check why the domain config was needed, as it should just use the one you have on the resource
Fixed!
Thanks a lot