Skip to content
Snippets Groups Projects
Commit 59bcb7b0 authored by Alexis Kalderimis's avatar Alexis Kalderimis :speech_balloon:
Browse files

Reword method comments

parent b97743da
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -27,8 +27,10 @@ def project
Gitlab::Graphql::Loaders::BatchModelLoader.new(Project, object.project_id).find
end
 
# NOTE: This method must be kept in sync with `MetadataType.resolve_type`.
# This method must never produce data that the discriminator cannot handle.
# NOTE: This method must be kept in sync with the union
# type: `Types::Packages::MetadataType`.
#
# `Types::Packages::MetadataType.resolve_type(metadata, ctx)` must never raise.
def metadata
case object.package_type
when 'composer'
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment