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

[6.x] Allow easier customization of the queued mailable job #31684

Merged
merged 2 commits into from
Mar 2, 2020

Conversation

garygreen
Copy link
Contributor

@garygreen garygreen commented Mar 2, 2020

This will allow developers to override newQueuedJob method in their mailables and return their own job which would enable being able to e.g: add job middlewares to rate limit emails, define a time limit on when a mailable is timed out etc.

This will allow developers to override this makeQueuedJob method in their mailables and return their own job - which means we can enable job middlewares rate limiting etc easily for all mailables.
@driesvints driesvints changed the title Allow easier customization of the queued mailable job [6.x] Allow easier customization of the queued mailable job Mar 2, 2020
@taylorotwell taylorotwell merged commit 7cb184f into laravel:6.x Mar 2, 2020
voku added a commit to voku/framework that referenced this pull request Mar 2, 2020
* upstream/6.x: (21 commits)
  Revert "[6.x] migrate --seed should seed the same database (laravel#31678)" (laravel#31685)
  [6.x] Allow easier customization of the queued mailable job (laravel#31684)
  [6.x] migrate --seed should seed the same database (laravel#31678)
  [6.x] Make newPivotQuery public (laravel#31677)
  [6.x] update changelog
  Fix flakey memcached tests (laravel#31646)
  Fixed phpdoc
  formatting
  [6.x] Expose Notification Id within Message Data (laravel#31632)
  [6.x] Add support for Arr::hasAny (laravel#31636)
  Fix phpdoc
  [6.x] update changelog
  [6.x] update changelog
  Fix styling for phpdoc
  Create resolve method which loads deferred providers if needed
  Revert "Call make instead of resolve to load deffered providers"
  Call make instead of resolve to load deffered providers
  Add test that failes to load deffered provider of implementation while accessing class through interface
  Use correct locale when resolving Faker from the container (laravel#31615)
  clean-up-some-methods
  ...

# Conflicts:
#	src/Illuminate/Database/DatabaseServiceProvider.php
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.

None yet

2 participants