Skip to content

Comments

Drop non-nullable marker from Test StartTime#3468

Merged
williamjallen merged 1 commit intoKitware:masterfrom
josephsnyder:drop_test_start_time_non_null
Feb 23, 2026
Merged

Drop non-nullable marker from Test StartTime#3468
williamjallen merged 1 commit intoKitware:masterfrom
josephsnyder:drop_test_start_time_non_null

Conversation

@josephsnyder
Copy link
Member

Prevent an error when using GraphQL by allowing the starttime field to be null
Before:

{
  "errors": [
    {
      "message": "Internal server error",
      "locations": [
        {
          "line": 11,
          "column": 21
        }
      ],
      "path": [
        "projects",
        "edges",
        1,
        "node",
        "builds",
        "edges",
        0,
        "node",
        "tests",
        "edges",
        0,
        "node",
        "startTime"
      ],
      "extensions": {
        "debugMessage": "Cannot return null for non-nullable field \"Test.startTime\".",

After:

"data": {
    "projects": {
      "edges": [
        {
          "node": {
            "builds": {
              "edges": []
            }
          }
        },
        {
          "node": {
            "builds": {
              "edges": [
                {
                  "node": {
                    "tests": {
                      "edges": [
                        {
                          "node": {
                            "startTime": null
                          }

Prevent an error when using GraphQL by allowing the starttime field
to be null
@williamjallen williamjallen added this to the v4.10 milestone Feb 23, 2026
@williamjallen williamjallen added this pull request to the merge queue Feb 23, 2026
Merged via the queue into Kitware:master with commit 7d1d584 Feb 23, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants