Class: Types::ReleaseType
- Inherits:
-
BaseObject
- Object
- GraphQL::Schema::Object
- BaseObject
- Types::ReleaseType
- Defined in:
- app/graphql/types/release_type.rb
Instance Method Summary collapse
Methods inherited from BaseObject
Instance Method Details
#author ⇒ Object
43 44 45 |
# File 'app/graphql/types/release_type.rb', line 43 def Gitlab::Graphql::Loaders::BatchModelLoader.new(User, release.).find end |
#commit ⇒ Object
51 52 53 54 55 |
# File 'app/graphql/types/release_type.rb', line 51 def commit return if release.sha.nil? release.project.commit_by(oid: release.sha) end |