Deprecation warning for tracer
drqCode opened this issue · 1 comments
drqCode commented
Schema.tracer(GraphQL::FragmentCache::Schema::Tracer)` is deprecated; use module-based `trace_with` instead. See: https://graphql-ruby.org/queries/tracing.html
/usr/local/bundle/gems/graphql-fragment_cache-1.20.0/lib/graphql/fragment_cache.rb:34:in `use'
graphql-ruby 2.3.0 has deprecated .tracer
method.
diegofigueroa commented
Hi @DmitryTsepelev, I just updated to v1.20.0, however I'm still getting this deprecation warning.
I noticed there were to pull requests opened to address this issue:
- https://github.com/DmitryTsepelev/graphql-ruby-fragment_cache/pull/111/files
- https://github.com/DmitryTsepelev/graphql-ruby-fragment_cache/pull/108/files
Ultimately PR #108 was merged, however I believe a key changed proposed in #111 was missing, causing the problem to persist: https://github.com/DmitryTsepelev/graphql-ruby-fragment_cache/pull/111/files#diff-761ec0e60c292437bbd31ded0d027b28110f25b967ee7ce7819141119d789417L36