Re: [django-channels] post-process message from Group

2018-01-18 Thread Tomáš Ehrlich
Hey Andrew, that's great! I'll take a look today. For some reason, I didn't receive your response so I came up with a bit inefficient solution described in this [gist](https://gist.github.com/tricoder42/af3d0337c1b33d82c1b32d12bd0265ec). I basically have another store with subscribers and then

Re: [django-channels] post-process message from Group

2018-01-17 Thread Andrew Godwin
Hi Tom, In Channels 1, because of the way Groups work you cannot do post-processing. The only fix for this is a complete rearchitecture which is underway in Channels 2, where you get the ability to act on group messages before they get sent back to the consumer. Channels 2 is not yet ready for pr

[django-channels] post-process message from Group

2018-01-17 Thread Tomáš Ehrlich
Hello everyone, I’m trying to connect django-channels with GraphQL subscriptions (using graphene and underlying graphql-core library). I’m basically doing sth similar to example in [docs](https://channels.readthedocs.io/en/latest/concepts.html#groups