eddig
02/20/2018, 1:34 PMProfile
and few subscriptions to create/update this type of node. When we test creating the profile via playground in the legacy graphcool console <https://console.graph.cool/_project_/playground>
(https://monosnap.com/file/hCt94k7a3EqqaOsVLqwfgX0K4HEhlk) the subscription function works as expected without errors in the logs, but when we try to create the profile via our endpoint’s playground <https://api.graph.cool/relay/v1/_project_>
(https://monosnap.com/file/kSZ5okqqO2of0GfJuiFkRSui2fitUo) we always have an error about using map
function on null, but as I understand there shouldn’t be difference in how we create the profile, since we send the same data when creating profile the data in the subscription’s event would be the same. In anyway we can’t see in the logs what event
is passed to the subscription function. We have this https://monosnap.com/file/qn6iu9GPQHz7Q7YR5WF3Ltzt3RjJQo result, the red strings is running createProfile
through the endpoint’s playground or our frontend, the white from the Graphcool Console playground. Please, advice where maybe the problem?