Skip to content

2.0.0#132

Merged
bobjflong merged 4 commits intomasterfrom
BL/rewrite
May 3, 2016
Merged

2.0.0#132
bobjflong merged 4 commits intomasterfrom
BL/rewrite

Conversation

@bobjflong
Copy link
Contributor

No description provided.

@dannyfallon
Copy link
Contributor

There are benefits to having a service-config oriented approach as in the current version, mostly around defining new endpoints with a minimum of code changes or fat modelling; it's how AWS define their own API clients - see https://github.com/aws/aws-sdk-php/tree/master/src/data

Was there any particular reason why we opted not to do that this time around?

@bobjflong
Copy link
Contributor Author

@dannyfallon the reason is maintainability. Guzzle changed their interface and testing infra in one version and left us with a huge rewrite on our hands. I want to protect us against this in future. With this structure I am much more confident in our ability to deal with dependency changes, and API changes with minimum/no fuss.

Additionally this new structure is much simpler, and similar to how the other clients are put together (intercom-node is the closest analogue).

@dannyfallon
Copy link
Contributor

Sorry I never came back to you on this one Bob.You're making a good argument here both in terms of maintainability and protecting ourselves from our dependencies, thanks for the response 👍

@bobjflong
Copy link
Contributor Author

Haven't had any bug reports so going to merge this!

@bobjflong bobjflong merged commit cc64a7a into master May 3, 2016
@bobjflong bobjflong deleted the BL/rewrite branch May 3, 2016 11:46
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.

2 participants