Gusto / apollo-federation-ruby

A Ruby implementation of Apollo Federation
MIT License
216 stars 72 forks source link

`Schema.tracer(ApolloFederation::Tracing::Tracer)` is deprecated #277

Open palexvs opened 1 month ago

palexvs commented 1 month ago

After the Graphql gem update, I started getting a warning:

`Schema.tracer(ApolloFederation::Tracing::Tracer)` is deprecated; use module-based `trace_with` instead. See: https://graphql-ruby.org/queries/tracing.html
.../.rbenv/versions/3.3.4/lib/ruby/gems/3.3.0/gems/apollo-federation-3.8.4/lib/apollo-federation/tracing.rb:12:in `use'

It seems like the warning was added 5 months ago in 2.3.0 version https://github.com/rmosolgo/graphql-ruby/commit/1f5120b2d1e0c6f37cb8aca4334ea27a5ae7fb25

Could the warning be silent or fixed?

thank you