• Toon Claes's avatar
    Slash command interpret service asks issuable for assignee capabilities · 12c6f2d3
    Toon Claes authored
    Instead of checking in `SlashCommands::InterpretService` what the issuable the
    type of the issuable is, ask the issuable if it is capable to do those thing and
    implement it in the issuable itself. The issuable will check if it's possible
    and if the licensed feature is available.
    
    This should also make it easier to ever add multiple assignees to MergeRequests.
    12c6f2d3
issuable.rb 232 Bytes