-
Hello Everyone, I have read through the documentation, many guides online, SO, etc. and I cannot for the life of me figure out what's going on in my instance. It's very possible that I've missed something or skipped over something so I apologize in advance if that's the case. To preface I'm using Laravel 9 (will be upgrading soon) and Lighthouse v6.36.0. My User table name is simply
Just to note I do have Any help or suggestions would be greatly appreciated. Lastly, if I've missed any important information please let me know. Cheers. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Do other queries work, or is it specific to querying users? |
Beta Was this translation helpful? Give feedback.
-
Update, after sifting through the endless stack trace I wound up nowhere. So I took a step back and did some research on singular table names within Laravel itself with no mention of Lighthouse/GraphQL. Looking through the search results I came across the So my next question would be why does the entire Laravel application respect the |
Beta Was this translation helpful? Give feedback.
Ain't no way 💀 I'm just dumb. I had a duplicate User class file under the main
app/
directory. It was left over from when initializing the project long ago. Once I removed the dupe file it's working as expected!