Not possible to eager load Cart lines #1066
Closed
alecritson
started this conversation in
Feature Requests
Replies: 1 comment
-
Do we need to use Lazy Eager Loading? Would it suffice to add it to the Cart model? e.g. class Cart extends Model
{
protected $with = ['lines']; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Expected Behaviour:
Be able to eager load in cart lines when you have a
Cart
modelActual Behaviour:
Once you have the
Cart
model and try to load the lines, the totals will be blank.Steps To Reproduce:
Beta Was this translation helpful? Give feedback.
All reactions