Hey do y'all know why an error like this would occ...
# prisma-whats-new
f
Hey do y'all know why an error like this would occur? it only happens with my deployed endpoint
Copy code
{
  "data": null,
  "errors": [
    {
      "message": "Field \"user\" of type \"User\" must have a selection of subfields. Did you mean \"user { ... }\"?",
      "locations": [
        {
          "line": 2,
          "column": 3
        }
      ],
      "path": [
        "login"
      ]
    }
  ]
}
l
Check GraphCool's medium blog for how to use
info
. Sorry, I don't have the link handy
f
@lawjolla which part is relevant to this?
l
@Futurekam probably the part that talks about the error you're having
f
thanks buddy
@lawjolla really insightful read I wish it solved my issue. Locally I can hit my deployed cluster just fine this query works when I run
Copy code
yarn start
Copy code
mutation {
  login(email: "x", password: "y"){
    token
  }
}
however once I deploy my backend to my digital ocean server thats where I see the supposed info error. Heres a photoset to try and illustrate my frustration. Thanks for your time.
I cant add them here I'll send them to you