Skip to content

Conversation

browner12
Copy link
Contributor

resubmission of #21191 to master branch due to breaking changes.

- add new `getQueueableRelations` method to queuable interfaces
- accept the 'relations' into the `ModelIdentifier`
- implement `getQueueableRelations` method on Eloquent Collection and Model.
- extract a method on `SerializesAndRestoresModelIdentifiers` for `restoreModel`. Load the relationships in this method.
- add test
@GrahamCampbell GrahamCampbell changed the title Serialize relationships [5.6] Serialize relationships Sep 18, 2017
@taylorotwell
Copy link
Member

I was able to completely comment out the following code with no tests failures, indicating it is not tested currently:

screen shot 2017-09-21 at 9 32 12 am

@browner12
Copy link
Contributor Author

well then... i'll take another stab at that 😑

@taylorotwell
Copy link
Member

Added a test for that.

@taylorotwell taylorotwell merged commit 98ee9ba into laravel:master Sep 21, 2017
@browner12
Copy link
Contributor Author

browner12 commented Sep 21, 2017

thanks @taylorotwell

now the question is, is there any way we can bring this to 5.5?

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.

3 participants