I created this relation in my graphcool
type User @model {
id: ID! @isUnique
location: Location! @relation(name: "UserLocation")
}
type Location @model {
id: ID! @isUnique
lat: Int
lng: Int
User: User! @relation(name: "UserLocation”)
}
Before location was a String, but now I wanted it to be an object so I created this relation, so that I can then use nested mutations. When I deploy I get this error:
There are issues with the new service definition:
Global
✖ None.get
I googled, looked on the documentation but I cannot understand what I am doing wrong, is a simple relation.