Skip to content

Cannot return null for non-nullable field Home.avgRating #80

@terion-name

Description

@terion-name

Kikstart example, start dev server, try to run queries.

This works:
2018-01-19 12 29 26

This fails:
2018-01-19 12 29 36

{
  "data": null,
  "errors": [
    {
      "message": "Cannot return null for non-nullable field Home.avgRating.",
      "locations": [
        {
          "line": 5,
          "column": 5
        }
      ],
      "path": [
        "topHomes",
        0,
        "avgRating"
      ]
    }
  ]
}
$ prisma -v
prisma/1.0.4 (darwin-x64) node-v9.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions