scaphold-io / scaphold-issues

Post issues that you find on Scaphold here. Post anything about the platform, docs, boilerplates, etc... Happy Scapholding!
3 stars 0 forks source link

getX returns wrong value #14

Open aputinski opened 7 years ago

aputinski commented 7 years ago

I have a Group type with an owner field that connects to user. If call getUser() with the id of the group, the user is returned.

Query:

{
  getUser(id: "GROUP_ID") {
    id
  }
}

Returns

{
  "data": {
    "getUser": {
      "id": "USER_UD"
    }
  }
}

I would expect null to be returned since no user with that id exists.