Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOPS-4867_RuboCop::Cop::Sidekiq::SymbolArgument -> hash literal with symbols #86

Merged
merged 15 commits into from
Jan 15, 2025

Conversation

ericproulx
Copy link
Contributor

@ericproulx ericproulx commented Jan 13, 2025

This cop will now be able to catch any Sidekiq worker's arguments that contains a literal hash with symbols. I've also added an autocorrector and I've changed the message from Sidekiq-serializable to native JSON types.

@ericproulx ericproulx requested a review from Bhacaz January 13, 2025 22:31
@ericproulx ericproulx changed the title RuboCop::Cop::Sidekiq::SymbolArgument -> hash literal with symbols DOPS-4867_RuboCop::Cop::Sidekiq::SymbolArgument -> hash literal with symbols Jan 14, 2025
@ericproulx ericproulx requested a review from Bhacaz January 14, 2025 21:07
Copy link
Collaborator

@Bhacaz Bhacaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow!!

@Bhacaz Bhacaz merged commit c89b63d into main Jan 15, 2025
1 check passed
@Bhacaz Bhacaz deleted the add_hash_symbol_to_sidekiq_symbol_argument branch January 15, 2025 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants