[graphql] Remove use of `accepts_definition` in graphql
What does this MR do and why?
GraphQL::ObjectType.accepts_definitions
and GraphQL::Schema::Object.accepts_definition
deprecated in graphql 1.13.12
and removed in 2.x
These defined an authorize
method on the type that we used to keep track of the permissions needed for a type, such as authorize :read_issue
. That has now been moved to Types::BaseObject
This is for the continuing march to [graphql] Main issue/MR for converting to the n... (#210556 - closed) and [graphql] Convert to using the new query interp... (&7734 - closed)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Brett Walker