Ash FrameworkAF
Ash Framework7mo ago
5 replies
Chaz Watkins

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 step
Solution
I think you'd want to do a separate step
Was this page helpful?