Hi!
Thanks for the update to 2.x!
I have a question that is not covered by the migration guide.
According to the guide, in the streaming body scenario :hackney.send_body should not require any changes in the code https://hexdocs.pm/hackney/2.0.1/migration.html#streaming-request
However, up until 1.25, this function accepted function without any arguments that evaluated either to {:ok, body} | {:error, error} https://github.com/benoitc/hackney/blob/1.25.0/src/hackney_request.erl#L190
Is this something that was removed on purpose and should be part of the migration guide or is it an omission and should be added back?
Hi!
Thanks for the update to 2.x!
I have a question that is not covered by the migration guide.
According to the guide, in the streaming body scenario
:hackney.send_bodyshould not require any changes in the code https://hexdocs.pm/hackney/2.0.1/migration.html#streaming-requestHowever, up until 1.25, this function accepted function without any arguments that evaluated either to
{:ok, body} | {:error, error}https://github.com/benoitc/hackney/blob/1.25.0/src/hackney_request.erl#L190Is this something that was removed on purpose and should be part of the migration guide or is it an omission and should be added back?