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

Initial version of ElasticPress DI Container #3559

Merged
merged 13 commits into from
Jul 28, 2023
Merged

Conversation

felipeelia
Copy link
Member

Description of the Change

To avoid adding yet another singleton on #3498, this PR adds a rudimentary version of a DI container for ElasticPress. Although it doesn't implement any Dependency Injection per se, it is at least a step in the right direction.

Changelog Entry

Added - Initial version of a DI Container

Credits

Props @felipeelia

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@felipeelia felipeelia added this to the 4.7.0 milestone Jul 26, 2023
@felipeelia felipeelia self-assigned this Jul 27, 2023
@felipeelia felipeelia merged commit e676057 into develop Jul 28, 2023
@felipeelia felipeelia deleted the feature/ci-container branch July 28, 2023 12:58
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.

1 participant