Skip to content

Cannot distinguish between missing arguments and field not wanted #81

@jml

Description

@jml

As per #77

On the example schema, this query:

{
  name
  owner {
    name
  }
}

Returns:

{
  "data": {
    "dog": {
      "name": "Mortgage",
      "owner": null
    }
  },
  "errors": [
    {
      "message": "No value provided for Name {getNameText = \"dogCommand\"}, and no default specified."
    }
  ]
}

I would expect it to return:

{
  "data": {
    "dog": {
      "name": "Mortgage",
      "owner": {
        "name": "jml"
      }
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions