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

Inject CurlRequest in handle on ElasticSearchIndexInit #182

Merged
merged 1 commit into from
Sep 2, 2021

Conversation

toban
Copy link
Contributor

@toban toban commented Sep 2, 2021

Jobs apparently don't inject dependencies through the constructor but
rather the handle function. In case of an interface being used this will
also require a explicit binding in the app service provider.

This changes that, and adds a test to try this out.

@toban toban changed the title Inject CurlRequest in handle Inject CurlRequest in handle on ElasticSearchIndexInit Sep 2, 2021
Jobs apparently don't inject dependencies through the constructor but
rather the handle function. In case of an interface being used this will
also require a explicit binding in the app service provider.

This changes that, and adds a test to try this out.
@addshore addshore merged commit a17bed4 into main Sep 2, 2021
@addshore addshore deleted the patch-elasticsearch-init branch September 2, 2021 12:54
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