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

Refactor client to make it handle events correctly (according to the spec.) #35

Merged
merged 1 commit into from
Sep 18, 2018

Conversation

jeffreydwalter
Copy link
Contributor

This PR makes the client more closely following the spec (see #33 for more details).

This work does not address the retry functionality nor unit tests for the change in behavior. That being said, all existing unit tests pass.

@jeffreydwalter jeffreydwalter force-pushed the master branch 2 times, most recently from b3d5eeb to 375d4a1 Compare September 18, 2018 11:26
client.go Outdated Show resolved Hide resolved
@jeffreydwalter jeffreydwalter force-pushed the master branch 2 times, most recently from c47057e to aabe2ae Compare September 18, 2018 15:32
@purehyperbole
Copy link
Member

Is this PR still WIP, or are you happy to have it reviewed/merged?

@jeffreydwalter
Copy link
Contributor Author

I think that it's good enough to merge. It makes the client parse events properly, which will make it useable for people. I will submit another PR for the retry stuff. I'll probably leave the unit tests up to you. (I don't have a lot of free time to write them.)

@purehyperbole
Copy link
Member

Great, all looks good. Thanks again for contributing this, it's greatly improved the quality library :)

I'm going to update the testing suite to use Testify, so i'll add the additional unit tests then.

@purehyperbole purehyperbole merged commit cbf29df into r3labs:master Sep 18, 2018
@jeffreydwalter
Copy link
Contributor Author

Awesome! My pleasure and thank you for putting the library together!

I'll get a PR together for the retry stuff soon. Cheers!

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.

3 participants