Skip to content

Commit

Permalink
fix: hack around subscriptions bug in 2.3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed Aug 13, 2024
1 parent e543bf2 commit 2108f9d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/support/graphql_schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class AnycableSchema < GraphQL::Schema
use GraphQL::AnyCable

subscription SubscriptionType
add_subscription_extension_if_necessary
end

module Broadcastable
Expand Down Expand Up @@ -77,4 +78,5 @@ class BroadcastSchema < GraphQL::Schema
use GraphQL::AnyCable, broadcast: true, default_broadcastable: true

subscription Broadcastable::SubscriptionType
add_subscription_extension_if_necessary
end

0 comments on commit 2108f9d

Please sign in to comment.