Arsnael commented on PR #2824:
URL: https://github.com/apache/james-project/pull/2824#issuecomment-3365004687

   > This sounds related...
   
   Yes i think it's because the way I plug the route it seems to conflict with 
other task routes on /messages ... Because it wasn't delcared as a Task. But I 
could not really, because task routes return a taskId generically speaking and 
here we wanted to run a task per user and return a map of taskid / user. 
   
   I see few solutions:
   - temporary one for getting this quick before a better solution, changing 
the route to something not used... /users/messages or something. 
   - we run just one task, for all users, and return a single taskId, so we can 
declare this route as a task and plug it that way
   - we rework the Task route api, so we can return also the map[taskId, user] 
somehow... but I'm not too sure of the best approach here
   - or maybe someone has a better proposition?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to