21f93731a3
This commit moves the category channel creation out of the Chat::Api::Channel controller and into a dedicated CreateCategoryChannel service. A follow up commit will move the DM channel creation out of the old DirectMessageChannelCreator service. Also includes a new on_model_errors helper for chat service class usage, that collects model validation errors to present in a nice way. --------- Co-authored-by: Loïc Guitaut <loic@discourse.org> |
||
---|---|---|
.. | ||
api/schemas | ||
examples | ||
api_schema_matcher.rb | ||
chat_helper.rb | ||
chat_service_matcher.rb |