Skip to content

Conversation

@hosni
Copy link
Contributor

@hosni hosni commented Oct 28, 2025

In this PR, I replaced the switch with match expression for Console's QuestionHelper.

@hosni
Copy link
Contributor Author

hosni commented Oct 29, 2025

Hi @taylorotwell

I noticed that PRs like #57552 and #57236 were recently merged, where similar refactors replaced switch with match.

I created this PR for the same reason because I saw you seemed to like that cleaner approach and wanted to help modernize other parts of the codebase as well.

Could you please let me know if there’s anything wrong with my PR or if this kind of change just isn’t desired here? I’d appreciate any feedback so I can align future contributions better. 🙏

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