Skip to content

Commit

Permalink
Enable subscription in planets-service
Browse files Browse the repository at this point in the history
This allows including subscriptions in `_service.sdl` (but subscriptions can't be executed on Apollo Router)
  • Loading branch information
rkudryashov committed Jun 25, 2022
1 parent ec04da2 commit a198469
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions planets-service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ pub fn create_schema_with_context(pool: PgPool) -> Schema<Query, Mutation, Subsc
.data(details_data_loader)
.data(kafka::create_producer())
.data(kafka_consumer_counter)
.enable_subscription_in_federation()
.finish()
}

Expand Down

0 comments on commit a198469

Please sign in to comment.