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

The response will always be an array #15

Merged
merged 1 commit into from
Jan 29, 2015

Conversation

MatayoshiMariano
Copy link
Contributor

I think it's better that the response will be an array of Response instead of a Responseor an array of Response, because the response is unified, in the last case is not.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 99.14% when pulling 8ef0bf9 on MatayoshiMariano:refactor/return-array into 78ecc7b on inf0rmer:master.

@inf0rmer
Copy link
Owner

Hi! I was actually torn about this when first designing the API. It does make a lot of sense to always return an array. It means breaking the current API, but I'm not against that. Can you also update the README though? The Responses section would be made outdated by this PR.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 99.14% when pulling ff7a87c on MatayoshiMariano:refactor/return-array into 78ecc7b on inf0rmer:master.

@MatayoshiMariano
Copy link
Contributor Author

Done!

@inf0rmer
Copy link
Owner

Hi! I'm sorry for the delay, I've been a little busy the past few days, plus I wanted to get a version out before this was merged, since the API will become backwards-incompatible.

Thanks for the contribution!

inf0rmer added a commit that referenced this pull request Jan 29, 2015
@inf0rmer inf0rmer merged commit 62ddff7 into inf0rmer:master Jan 29, 2015
@inf0rmer inf0rmer mentioned this pull request Apr 21, 2015
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

Successfully merging this pull request may close these issues.

None yet

3 participants