You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, disclaimer: I don't have much experience with API resources, so I can't help much.
But here's the PR where we added refresh: #753
I don't fully understand, but it looks like there was a good reason. Maybe the refresh should be before the load?🤔
Scribe version
4.29.0
PHP version
8.2.8
Framework
Laravel
Framework version
10.17.0
Scribe config
What happened?
Thanks for Scribe.
I declared an attribute like this.
Expected (at BookResource):
As is:
I see a problem here.
scribe/src/Extracting/InstantiatesExampleModels.php
Line 72 in 695c2a9
I am able to load nested relations as expected until
$factory->create()->load($relations)
,but the
contacts
relation is lost inrefresh()
.Sorry if my language is poor and rude.
Docs
The text was updated successfully, but these errors were encountered: