Closed fntneves closed 5 years ago
Hi @fntneves , thanks for reporting this issue,
I did find an issue using belongsTo
inside \App\Nova\Gallery::class
and fixed on version v0.1.2
however the error I was getting were different from yours \App\Nova\Gallery::user()
Anyways can you check if the new version fixes this issue? if not can you post all the related files so I can further debug it?
Actually, I found issues with all the other relationship types, fixed them all on the latest release. Please reopen if I have missed something thanks!
Hello,
Before anything else, thank you for this package.
I am trying to use InlineMorphTo which one of given types of Nova Resource contains a BelongsTo relationship.
For instance, consider the Article Resource example in README:
If the Gallery resource contains a BelongsTo field that points to an User resource, I get the following error when accessing pages related to the Article resource: