eca8e6f09b
With this we only check abilities on the rendered edges of a GraphQL connection instead of all the nodes in it.
11 lines
244 B
Ruby
11 lines
244 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Gitlab
|
|
module Graphql
|
|
module Errors
|
|
BaseError = Class.new(GraphQL::ExecutionError)
|
|
ArgumentError = Class.new(BaseError)
|
|
ResourceNotAvailable = Class.new(BaseError)
|
|
end
|
|
end
|
|
end
|