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
handle_result
https://github.com/rockneurotiko/ex_gram/blob/master/lib/ex_gram/adapter/tesla.ex#L53
Does this function get a call ever? The function above it would always match some status. So the flow enters the function define above L53.
In my understanding of pattern matching in function arguments -> if pattern matched, all other definitions (below) current one are ignored, right?
EDIT : concept was NOT ok. when {:ok, :true} does not match, function below is called.
{:ok, :true}
Resolved (see Edit)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
code from repo
https://github.com/rockneurotiko/ex_gram/blob/master/lib/ex_gram/adapter/tesla.ex#L53
question
Does this function get a call ever? The function above it would always match some status. So the flow enters the function define above L53.
concept check
In my understanding of pattern matching in function arguments -> if pattern matched, all other definitions (below) current one are ignored, right?
EDIT : concept was NOT ok. when
{:ok, :true}
does not match, function below is called.suggestions - what am I missing?
The text was updated successfully, but these errors were encountered: