Hey all. I completed a bunch of the tutorials on how to graph ql, but I'm really struggling to make progress on my own projects. I just can't work out what the error messages mean in relation to what I've done in the tutorials. Anyone willing to help out a newb?
r
Ramin B
11/19/2018, 3:49 PM
newbie here myself, but i may have stumbled on similar problems. whats up
k
Kelly
11/19/2018, 3:56 PM
Just had a minor breakthrough... but i might nudge you in a mo!
r
Ramin B
11/19/2018, 3:58 PM
nice! i know exactly how you feel. keep at it! lots of “aha” moments
Ramin B
11/19/2018, 3:59 PM
the biggest “aha” for me (for anyone else who is reading this), was making the mental distinction between the Prisma layer/schema vs the Application layer/schema. took me a while to understand that they are separate, independent concepts that work together
💡 1
k
Kelly
11/19/2018, 4:01 PM
I think I@m getting that. My issue is that I don't really know js very well, so I'm simultaneously trying to learn: JS, Node, GraphQL, Prisma, Apollo, PWA, Vue and Vuetify. My brain is melting. I'd have done this project weeks and weeks ago in PHP and MySQLl 😄
Kelly
11/19/2018, 4:06 PM
ok, so here's my problem. I'm trying to make a new mutation in these schema. When I run it from my local playground instance, I get back: "
{
"data": {
"host": null
}
}"
and that's it. Nothing hits the prisma instance. I've no idea where to debug
n
nuno
11/19/2018, 4:59 PM
In that mutation resolver, do you call the prisma instance?