lib/graphql/subscriptions.rb in graphql-2.3.5 vs lib/graphql/subscriptions.rb in graphql-2.3.6

- old
+ new

@@ -233,10 +233,10 @@ def broadcastable?(query_str, **query_options) query = @schema.query_class.new(@schema, query_str, **query_options) if !query.valid? raise "Invalid query: #{query.validation_errors.map(&:to_h).inspect}" end - GraphQL::Analysis::AST.analyze_query(query, @schema.query_analyzers) + GraphQL::Analysis.analyze_query(query, @schema.query_analyzers) query.context.namespace(:subscriptions)[:subscription_broadcastable] end private