diff options
Diffstat (limited to 'app/graphql/resolvers/incident_management/timeline_event_tags_resolver.rb')
-rw-r--r-- | app/graphql/resolvers/incident_management/timeline_event_tags_resolver.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/graphql/resolvers/incident_management/timeline_event_tags_resolver.rb b/app/graphql/resolvers/incident_management/timeline_event_tags_resolver.rb new file mode 100644 index 00000000000..ac6577d119b --- /dev/null +++ b/app/graphql/resolvers/incident_management/timeline_event_tags_resolver.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Resolvers + module IncidentManagement + class TimelineEventTagsResolver < BaseResolver + include LooksAhead + + type ::Types::IncidentManagement::TimelineEventTagType.connection_type, null: true + + def resolve(**args) + apply_lookahead(::IncidentManagement::TimelineEventTagsFinder.new(current_user, object, args).execute) + end + end + end +end |