Trouble Understanding Reactor
I'm taking a stab at implementing a Reactor, but the documentation isn't very clear. I've read both the Reactor documentation and the AshReactor documentation for getting started, but I'm still getting tripped up. Here is a basic example:
From what I gather, this will forward the inputs defined inside the
Next, I call this by placing an action on the
Calling
Ok, so I then change my file to return just an
I run
POST IS TOO LONG FOR DISCORD, THE REST IS IN THE FIRST COMMENT
From what I gather, this will forward the inputs defined inside the
create to the default create action of the User resource. Am I right? How would this differ if I had to call a different action that wasn't default.Next, I call this by placing an action on the
User resource like so:Calling
User.register_user seems to run the RegisterUser reactor, which runs the User.create action like expected, but then I get this error:Ok, so I then change my file to return just an
:ok to see if I can get it to work. It looks like this:I run
User.register_user again and now I get this error (sorry for the formatting, this is how it's output):POST IS TOO LONG FOR DISCORD, THE REST IS IN THE FIRST COMMENT
