Open unenglishable opened 5 months ago
I had same issue with this function, stream_file. mix dialyzer would fail since the func is calling File.stream! under the hood, but S3.Upload.stream_file
is not ending with ! mark.
the issue is fixed by this PR. I fixed it by upgrading ex_aws_s3 from 2.3 to 2.5.3.
Environment
mix deps |grep ex_aws
mix deps | grep hackney
Current behavior
code sample:
errors and stacktraces
Expected behavior
dialyzer should succeed
when i remove the call to
ExAws.S3.presigned_post
dialyzer succeeds; it is the bottom function call in my projectthis may be due to a bad
@spec
somewhere, i've recently fixed this issue by updating a@spec
i am fixing this temporarily in my project by configuring dialyzer to ignore
generate_presigned_post
thank you for your consideration :)