reactor_req - argument option in dsl is missing
Weird because
wait_for
does work, which supposedly unsugars to argument :_, result(step_to_wait_for)
. Error:
Solution:Jump to solution
GitHub
support
argument
option and pass extra arguments to guard by rtor...Contributor checklist
Leave anything that you believe does not apply unchecked.
Bug fixes include regression tests
Chores
Documentation changes
Features include unit/acceptance tests
Refactor...
14 Replies
What do the DSL docs for that step show?

argument is missing there too
maybe I'm on a previous version, before ash absortion? https://hexdocs.pm/reactor_req/dsl-reactor-req.html#reactor-req_post
I need an extra argument so I can check for it in a guard
wonder what's going on, code does import it. This is the main branch in https://github.com/ash-project/reactor_req
GitHub
GitHub - ash-project/reactor_req: A Reactor DSL extension for makin...
A Reactor DSL extension for making HTTP requests with Req. - ash-project/reactor_req

Hmm...
need a repro?
I wouldnt end up handling it TBH. My suggestion is to open an issue on the project 🙂
any hints? Maybe I can knock it out msyelf
I'm a bit of a noob on elixir
I'll ask Mr Claude
I don't think that importing argument there does what you're thinking
Actually I'm not sure
But I'd look at another step that does support arguments and see 🙂
maybe
arguments: [Argument.__entity__(), WaitFor.__entity__()],
is enough here
I'll write a test
success on receiving args, but they are not passed to the guard function. Checking that.
ok, fixedSolution
GitHub
support
argument
option and pass extra arguments to guard by rtor...Contributor checklist
Leave anything that you believe does not apply unchecked.
Bug fixes include regression tests
Chores
Documentation changes
Features include unit/acceptance tests
Refactor...
feel free to criticize my testing lol it's not the best. I'll follow your lead here
@James Harton will likely be the one to end up reviewing it 🙂
kk. I'll add my fork to my deps in the meantime
excelleeeent, it works with my code now. Marking resolved