Skip to content
Snippets Groups Projects

Add metadata about the GitLab server to GraphQL

Merged Nick Thomas requested to merge (removed):56809-graphql-version-api into master
All threads resolved!
6 files
+ 49
4
Compare changes
  • Side-by-side
  • Inline
Files
6
+ 11
0
# frozen_string_literal: true
module Resolvers
class MetadataResolver < BaseResolver
type Types::MetadataType, null: false
def resolve(**args)
{ version: Gitlab::VERSION, revision: Gitlab.revision }
end
end
end
Loading