-
Hi, all. I'm not sure what steps I need to take in order to make @defer work. I've setup this bare minimum express-graphql server:
And I am executing such query:
And I get such response:
What I am missing and how can I make it work? I know it's experimental feature and still in development that's why I am not expecting it to work perfect. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
For defer and stream to work you need a multipart response setup. Checkout @n1ru4l bleeding edge platground https://github.com/n1ru4l/graphql-bleeding-edge-playground/blob/be4ca50be9f99a67029e53070289398c12f82679/server/main.ts#L82 |
Beta Was this translation helpful? Give feedback.
For defer and stream to work you need a multipart response setup. Checkout @n1ru4l bleeding edge platground https://github.com/n1ru4l/graphql-bleeding-edge-playground/blob/be4ca50be9f99a67029e53070289398c12f82679/server/main.ts#L82