Class: Types::ProjectMemberType
- Inherits:
-
BaseObject
- Object
- GraphQL::Schema::Object
- BaseObject
- Types::ProjectMemberType
- Defined in:
- app/graphql/types/project_member_type.rb
Instance Method Summary collapse
Methods inherited from BaseObject
accepts, assignable?, authorization, authorization_scopes, authorize, authorized?, #current_user, #id
Methods included from Gitlab::Graphql::Present
Instance Method Details
#project ⇒ Object
17 18 19 |
# File 'app/graphql/types/project_member_type.rb', line 17 def project Gitlab::Graphql::Loaders::BatchModelLoader.new(Project, object.source_id).find end |