mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-26 07:25:56 +03:00
[PR #303] [MERGED] client.Enqueue - prevent empty task typename #2729
Labels
No labels
CLI
bug
designing
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
idea
invalid
investigate
needs-more-info
performance
pr-welcome
pull-request
question
wontfix
work in progress
work in progress
work-around-available
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynq#2729
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hibiken/asynq/pull/303
Author: @lmikolajczak
Created: 8/1/2021
Status: ✅ Merged
Merged: 8/3/2021
Merged by: @hibiken
Base:
master← Head:fr-297-empty-task-typename-fix📝 Commits (3)
2d891fbclient.Enqueue - prevent empty task's typename08bda9cAdjust error message, use TrimSpace for more robust empty typename check2eb060dAdd changelog entry, add additional test case📊 Changes
4 files changed (+19 additions, -1 deletions)
View changed files
📝
CHANGELOG.md(+4 -0)📝
client.go(+4 -0)📝
client_test.go(+10 -0)📝
servemux.go(+1 -1)📄 Description
Hi @hibiken! Thanks for this library and sharing your work 👍
When I was trying to get familiar with the code base and test out some of the features locally I also decided to contribute and help a little bit. I picked #297 as something that appears easy to start with. Please let me know if I missed something out or the solution should be improved/adjusted. Keep in mind that currently you're still able to queue and consume tasks with typenames like
" "(just a single whitespace). This can be a feature but maybe also should be handled differently?Thanks again and I'm looking forward to contribute in future!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.