ex-aws / ex_aws

A flexible, easy to use set of clients AWS APIs for Elixir

Home Page:https://hex.pm/packages/ex_aws

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Return type mismatch for request!

krns opened this issue · comments

Environment

  • Elixir & Erlang versions (elixir --version): 1.16.0
  • ExAws version mix deps |grep ex_aws 2.5.1
  • HTTP client version. IE for hackney do mix deps | grep hackney

Current behavior

https://hexdocs.pm/ex_aws/ExAws.html#request!/2

@spec request!(
  ExAws.Operation.t(),
  keyword()
) :: term()

https://hexdocs.pm/ex_aws/ExAws.Behaviour.html#c:request/2

@callback request!(ExAws.Operation.t(), Keyword.t()) :: term() | no_return()

Expected behavior

Same type specs