Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return partial result on int overflow #11

Open
ad-si opened this issue Jun 6, 2024 · 0 comments
Open

Return partial result on int overflow #11

ad-si opened this issue Jun 6, 2024 · 0 comments

Comments

@ad-si
Copy link
Member

ad-si commented Jun 6, 2024

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"
      ]
    }
  ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant