Class: Resolvers::MergeRequestResolver

Inherits:
Object
  • Object
show all
Includes:
ResolvesMergeRequests
Defined in:
app/graphql/resolvers/merge_request_resolver.rb

Constant Summary

Constants included from LooksAhead

LooksAhead::FEATURE_FLAG

Instance Method Summary collapse

Methods included from ResolvesMergeRequests

#early_return, #ready?, #resolve_with_lookahead

Methods included from LooksAhead

#apply_lookahead, #resolve

Instance Method Details

#no_results_possible?(args) ⇒ Boolean

Returns:

  • (Boolean)

14
15
16
# File 'app/graphql/resolvers/merge_request_resolver.rb', line 14

def no_results_possible?(args)
  project.nil?
end