Skip to content

Should refresh() method load relations declared in $with variable? #40708

Closed Answered by gguney
alexandrubau asked this question in Ideas
Discussion options

You must be logged in to vote

You are not loading the relation with calling $user->profile()->save($profile); if you look at the Model.php insideIlluminate\Database\Eloquent it is loading the relations.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by alexandrubau
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants