You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since 1.3.0 and this change #44, when calling GraphQL::AnyCable::Cleaner.clean we get these warnings:
Usage of `GraphQL::AnyCable.redis` is deprecated. Instead of `GraphQL::AnyCable.redis.whatever` use `GraphQL::AnyCable.with_redis { |redis| redis.whatever }`
Describe the bug
Since 1.3.0 and this change #44, when calling
GraphQL::AnyCable::Cleaner.clean
we get these warnings:It seems like the cleaner is still using
GraphQL::AnyCable.redis
: https://github.com/anycable/graphql-anycable/blob/fae6f96bcf7a38fede85c6dfeeb394cce606b43b/lib/graphql/anycable/cleaner.rb#L67C9-L67C32Steps to reproduce
Call
GraphQL::AnyCable::Cleaner.clean
Expected behavior
No warnings
The text was updated successfully, but these errors were encountered: