Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Delay the deprecation warning of use_client_provided_uniq_id (#26)
When setting the `use_client_provided_uniq_id` to false through Ruby configuration code the deprecation warning was still issued: ```ruby GraphQL::AnyCable.config.use_client_provided_uniq_id = false # or... GraphQL::AnyCable.configure do |config| config.use_client_provided_uniq_id = false end ``` This happened because the deprecation warning was issued through an `on_load` callback that is invoked when the `GraphQL::AnyCable.config` is initialised. At that time, Anyway is getting settings through sources like ENV variables, but the Ruby configuration code is invoked **afterwards**. But we prefer having this setting in Ruby code, not in an ENV or a YAML setting file.
- Loading branch information