-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Swap usage of ClientInterface
instead of Client
#10
Conversation
Hi @stevebauman, thank you for the PR. This makes total sense! As you've mentioned, this would require a new major version for this and dependent packages. As the change is pretty small, I'd avoid releasing a major version until we have bigger changes in I will keep it open for now and merge in the future, I hope this is fine 🙂 |
Ok sounds good @babenkoivan! Thanks! |
This comment was marked as resolved.
This comment was marked as resolved.
This comment has been minimized.
This comment has been minimized.
This pull request is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days |
Merged to the future |
This PR swaps references to the Elasticsearch PHP package's
final Client
to its new v8.0ClientInterface
so that different implementations, fakes, and mocks can be returned for a bit easier testing.This will likely require a new major version, but wanted to push it in case you're interested.
Let me know if you'd like anything changed. Thanks so much for your time! ❤️