How to get customized list of data without relation #836
Unanswered
sreelal-cn
asked this question in
Q&A
Replies: 1 comment
-
Might be actually the default resolver, which AFAIK would do that. You talk about your resolver, but you didn't show it: can you please provide more complete examples? |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I fetch data from users, I have not direct relation user and topic.
I just, assigned topic data in the resolve part as,
$user->topics = $topicData;
When I hitting the query, It still wants a relationship.
How to bypass the relation?
"debugMessage": "Call to undefined relationship [topics] on model [App\\Models\\User].",
Beta Was this translation helpful? Give feedback.
All reactions