Model reload() method doesn't refresh relationship

I have a model relationship that doesn’t reload after updating it, does anyone have a solution for this?

await account

await account.reload()

What do you mean doesn’t reload? Does it throw some error?

The relationship data is not refreshing, it’s not updated, no thrown error

I think reload is reloading the model only and nothing else.

Could try account.profile.reload() but not too sure if it would work

1 Like