Graphcool / graphcool-framework

Apache License 2.0
1.78k stars 130 forks source link

Logs for subscription functions are not created #458

Open marktani opened 6 years ago

marktani commented 6 years ago

Issue by Melv Monday Jan 15, 2018 at 11:49 GMT Originally opened as https://github.com/graphcool/prisma/issues/1623


As requested in this issue #881, a new issue report. To reproduce it @marktani code can be reused, using graphcool-framework instead of graphcool

Current Behaviour Logs for subscription functions that return something else than an object containing the data or error key are not created.

Reproduction https://github.com/marktani/graphcool-subscription-logs#reproduction

Using: graphcool-framework/0.11.5 (linux-x64) node-v8.9.4

Expected behaviour Logs for function no-logs should be created, too.