Ash.Reactor - Transform results for `initial` or `argument`
I'm calling an API and then creating records from the response. Is there a way to transform the API result into the record attrs in the
create
or bulk_create
step? Or is it better to have a separate transform step and use its result as the initial for create
or bulk_create
step?
API Call step -> Transform Results to Resource attrs -> Create or Bulk Create step3 Replies
Solution
I think you'd want to do a separate step
generally
ok, cool. Didn't know if there was something like
transform
for code_interfaces. Makes sense to have a separate step.
Thanks!