Closed WakilAhmadOmar closed 2 years ago
This error occurs when I use real time. message: "Cannot read property 'id' of null" name: "TypeError"
message: "Cannot read property 'id' of null" name: "TypeError"
const subscriptionData = client.subscribe({ query: ........................................., variables: { ...variables }, }) .subscribe({ next: ({data:{...............................}}) => { console.log("........................"); },error: (error) => { console.log(" .................... error", JSON.stringify(error, null, 3)); }, });
Output
This error occurs when I use real time.
message: "Cannot read property 'id' of null" name: "TypeError"
const subscriptionData = client.subscribe({ query: ........................................., variables: { ...variables }, }) .subscribe({ next: ({data:{...............................}}) => { console.log("........................"); },error: (error) => { console.log(" .................... error", JSON.stringify(error, null, 3)); }, });
Output