Skip to content
New issue

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

handling error #55

Open
sikanhe opened this issue Dec 23, 2015 · 2 comments
Open

handling error #55

sikanhe opened this issue Dec 23, 2015 · 2 comments
Milestone

Comments

@sikanhe
Copy link

sikanhe commented Dec 23, 2015

Shouldn't we be using {:ok, vaue} and {:error, error} for responses as per elixir/erlang convention?

@artemeff
Copy link
Owner

@sikanhe yep, maybe in future releases I'll remove |> elem(1) from query API, thanks.

@artemeff artemeff added this to the 1.0.0 milestone Dec 23, 2015
@seivan
Copy link

seivan commented Dec 29, 2016

I second this as I'm forced to do if foo == :undefined, do: foo = nil

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants