japrogramer

Results 66 comments of japrogramer

@MichaelAquilina I would give it a default value in the resolver, input.get('my_enum', MyEnum.FOO.value)

Hmm I think I understand now, In the on next, I could also send to the reply channel in channels My question is this now, will it block other normal...

most of it is in https://github.com/graphql-python/graphene/pull/500#issuecomment-325560994 this is the part that makes it rx compliant ``` 1 def make_sub(info, gid): 2 inst = relay.Node.get_node_from_global_id(info, gid) 3 try: 4 gp_name =...

@eamigo86 yes, rx.Observable.from_iterable( ... ) in the resolve method on the comment above I explain more.

@eamigo86 what query are you running and what does the resolve for those fields return?

are you using a dataloader in any of those fields?

ok, so when the schema returns a result it should be an instance of rx.Observable than this code should help you out https://github.com/graphql-python/graphql-core/issues/149#issuecomment-345086276

the way Im doing subsrciptions is by adding the reply_channel to a group https://github.com/graphql-python/graphql-core/issues/149#issuecomment-350405781 and because Im serving subscriptions over a websocket, when i send in the group it goes...

Is the graphene_django debug middleware causing problems? or what other middleware are you using?

This are my settings, I can confirm that the client does receive a message when the product that it subscribes to is updated. ``` 113 if 'MIDDLEWARE' in GRAPHENE: |...