Hi Peter 馃憢
I'm liking the library, but as an Elixir newbie I'm confused by this error. A literal copy-paste of your example code is yielding a type warning, and my digging around isn't making it clear why. Could you point me in the right direction? I'd be happy to issue a PR with a fix when I understand it.
{:ok, doc, _response_header} =
ExHal.client()
|> ExHal.Client.add_headers("User-Agent": "MyClient/1.0")
|> ExHal.Client.get("http://example.com/hal")

I can see that's there's an opaque type defined for Client, but there's no typespec for get which is confusing me...
Hi Peter 馃憢
I'm liking the library, but as an Elixir newbie I'm confused by this error. A literal copy-paste of your example code is yielding a type warning, and my digging around isn't making it clear why. Could you point me in the right direction? I'd be happy to issue a PR with a fix when I understand it.
I can see that's there's an opaque type defined for
Client, but there's no typespec forgetwhich is confusing me...