Skip to content

Conversation

dariuszkuc
Copy link
Collaborator

📝 Description

Currently the spring-server automatically configures the subscription strategy that supports Kotlin Flow but does not configure the hooks neccessary to use it. Updating SubscriptionAutoConfiguration to create FlowSubscriptionSchemaGeneratorHooks if bean is not available.

Cleaned up the federation docs to highlight that both hooks and execution strategy are needed for using Flows in subscriptions. Added a note that the subscription protocol implemented in spring-server is deprecated.

🔗 Related Issues

#1477

Currently the `spring-server` automatically configures the subscription strategy that supports Kotlin `Flow`  but does not configure the hooks neccessary to use it. Updating `SubscriptionAutoConfiguration` to create `FlowSubscriptionSchemaGeneratorHooks` if bean is not available.

Cleaned up the federation docs to highlight that both hooks and execution strategy are needed for using `Flow`s in subscriptions. Added a note that the subscription protocol implemented in `spring-server` is deprecated.
@dariuszkuc dariuszkuc added changes: minor Changes require a minor version type: documentation Documentation or test changes module: server Issue affects the server code labels Jun 27, 2022
@samuelAndalon samuelAndalon merged commit 1615bcb into ExpediaGroup:master Jun 27, 2022
@dariuszkuc dariuszkuc deleted the subscriptions branch June 28, 2022 14:07
dariuszkuc added a commit to dariuszkuc/graphql-kotlin that referenced this pull request Aug 5, 2022
…ediaGroup#1479)

Currently the `spring-server` automatically configures the subscription strategy that supports Kotlin `Flow`  but does not configure the hooks neccessary to use it. Updating `SubscriptionAutoConfiguration` to create `FlowSubscriptionSchemaGeneratorHooks` if bean is not available.

Cleaned up the federation docs to highlight that both hooks and execution strategy are needed for using `Flow`s in subscriptions. Added a note that the subscription protocol implemented in `spring-server` is deprecated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changes: minor Changes require a minor version module: server Issue affects the server code type: documentation Documentation or test changes

Development

Successfully merging this pull request may close these issues.

2 participants