Skip to content

Return partial result on int overflow #11

@ad-si

Description

@ad-si

Right now it doesn’t return any rows if one entry overflows:

"data": {
  "misc": null
},

However, it should return the correct entries like this:

{
  "data": {
    "misc": [
      {
        "int_col": 2343
      },
      {
        "int_col": null
      },
      {
        "int_col": 5
      },
    ]
  },
  "errors": [
    {
      "locations": [
        {
          "column": 5,
          "line": 3
        }
      ],
      "message": "Unable to coerce result to Int.",
      "path": [
        "misc",
        2,
        "int_col"
      ]
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions