lib/graphql/authorization.rb in graphql-1.8.18 vs lib/graphql/authorization.rb in graphql-1.9.0.pre1

- old
+ new

@@ -18,9 +18,10 @@ @context = context super("Some fields in this query are not accessible: #{fields.map(&:graphql_name).join(", ")}") end end + # @deprecated authorization at query runtime is generally a better idea. module Analyzer module_function def initial_value(query) { schema: query.schema,