lewisblackwood
05/21/2018, 2:37 PMEndpoint
and Organisation
. When I create a new endpoint and connect it to an organisation, I can see the relation to the corresponding organisation on the endpoint. However, when I retrieve the organisation, it does not have an endpoint connected to it. I have plenty of other similar relations with different types and haven't seen this behaviour for those. Any ideas what might be the cause here?lewisblackwood
05/21/2018, 2:40 PM{
"data": {
"organisations": [
{
"id": "cjhemopj50dxg0720mj3lelo4",
"endpoint": null
}
]
}
}
{
"data": {
"endpoints": [
{
"id": "cjhf0gk2g0ehj0720pz7k0kun",
"organisation": {
"id": "cjhemopj50dxg0720mj3lelo4"
}
}
]
}
}
Vakrim
05/21/2018, 2:48 PMhuv1k
05/21/2018, 2:50 PMlewisblackwood
05/21/2018, 2:55 PMtype Organisation @model {
endpoint: Endpoint @relation(name: "EndpointOnOrganisation")
}
type Endpoint @model {
organisation: Organisation! @relation(name: "EndpointOnOrganisation")
}
lewisblackwood
05/21/2018, 3:04 PMzonofthor
05/21/2018, 5:16 PMzonofthor
05/21/2018, 5:16 PMlewisblackwood
05/22/2018, 10:45 AM