I’m getting a [] when I make a query in the GraphQL editor.
It’s console logging my getPosts, but not my getStore, getProducts, ect.... what causes that?
We're a place where coders share, stay up-to-date and grow their careers.
I’m getting a [] when I make a query in the GraphQL editor.
It’s console logging my getPosts, but not my getStore, getProducts, ect.... what causes that?
For further actions, you may consider blocking this person and/or reporting abuse
SUCHINTAN DAS -
Gaurav Soni -
Anjan Shomodder -
Mysterio -
Once suspended, yobretyo will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, yobretyo will be able to comment and publish posts again.
Once unpublished, all posts by yobretyo will become hidden and only accessible to themselves.
If yobretyo is not suspended, they can still re-publish their posts from their dashboard.
Discussion (2)
Can I see the code, please? This is necessary for me to know what the issue is.
I created my schema, model, my resolver and added it to the main index. It’s “SHOWING” for fields, but it’s not getting data from MONGODB. It’s console logging empty [ ]