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

Unique nullable field can't have multiple null values #39

Open
liwzhang opened this issue Nov 19, 2024 · 0 comments
Open

Unique nullable field can't have multiple null values #39

liwzhang opened this issue Nov 19, 2024 · 0 comments
Milestone

Comments

@liwzhang
Copy link

Magql throws an error when you try to add more than 1 object with field = null where the field is a unique, nullable field.

  "data": null,
  "errors": [
    {
      "message": "magql argument validation",
      "locations": [
        {
          "line": 2,
          "column": 3
        }
      ],
      "path": [
        "testing_create"
      ],
      "extensions": {
        "ctn": [
          "Testing with this test_field already exists."
        ]
      }
    }
  ]
}
@davidism davidism added this to the 1.2.0 milestone Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants