Skip to content

Conversation

@rhenwood39
Copy link
Collaborator

I stopped EsClient from being a singleton, and refactored a few things using dependency injection (e.g. EsClient, URModel, etc.) to improve testability.

@cfifty
Copy link
Collaborator

cfifty commented Apr 30, 2017

Is this outdated & can be closed? @rhenwood39

@rhenwood39
Copy link
Collaborator Author

We should probably merge this in eventually because it makes ESClient and URModel more testable. I'm not sure if anyone has tried doing it yet...?

If no one has tried yet, it might honestly be easier to close this and just put in new pull request because it looks like there will be a lot of merge conflicts. And all the changes in this branch were pretty simple, so it would be easy to just redo everything.

But for now I guess we should just leave it open. Since this is mostly style stuff, we can worry about it after we get everything working.

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