graphql-java - How to use subscriptions with spring boot?

后端 未结 3 1682
青春惊慌失措
青春惊慌失措 2021-02-04 14:16

In a project I use graphql-java and spring boot with a postgreSQL Database. Now I would like to use the subscription feature

3条回答
  •  粉色の甜心
    2021-02-04 15:11

    I got the same issue where I was spiking on the lib to integrate with spring boot. I found graphql-java, however, it seems it only support 'subscription' on schema level, it is not perform any transnational support for this feature. Meaning you might need to implement it your self.

    Please refer to https://github.com/graphql-java/graphql-java/blob/master/docs/schema.rst#subscription-support

提交回复
热议问题