We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ExTwilio.Resource creates a find/2 function with a return type of Parser.parsed_list_response():
ExTwilio.Resource
find/2
Parser.parsed_list_response()
https://github.com/danielberkompas/ex_twilio/blob/master/lib/ex_twilio/resource.ex#L60-L63
but the function it calls (ExTwilio.Api.find/3) returns a Parser.parsed_response:
ExTwilio.Api.find/3
Parser.parsed_response
https://github.com/danielberkompas/ex_twilio/blob/master/lib/ex_twilio/api.ex#L47-L53
This causes Dialyzer failures on working code like:
case IncomingPhoneNumber.find(sid, opts) do {:ok, _} -> update_query = from(n in TwilioNumber, where: n.id == ^id, update: [set: [released?: false, campaign_id: nil]] ) Repo.update_all(update_query, []) :ok _ -> :not_updated
The text was updated successfully, but these errors were encountered:
No branches or pull requests
ExTwilio.Resource
creates afind/2
function with a return type ofParser.parsed_list_response()
:https://github.com/danielberkompas/ex_twilio/blob/master/lib/ex_twilio/resource.ex#L60-L63
but the function it calls (
ExTwilio.Api.find/3
) returns aParser.parsed_response
:https://github.com/danielberkompas/ex_twilio/blob/master/lib/ex_twilio/api.ex#L47-L53
This causes Dialyzer failures on working code like:
The text was updated successfully, but these errors were encountered: